Samba Fehlermeldung - Hilfe benötigt

Status
Für weitere Antworten geschlossen.

helmutfahr

New Member
Ich habe einen neuen Suse 10.1 Server mit Samba Dienst gestartet.

Laut einer Installationsanleitung für ein Programm dass User Zugriff auf den Samba Server benötigt soll man User so hinzufügen:

smbpasswd -a helmut:helmut

Danach kam die Passwort Eingabe Aufforderung mit Wiederholung.

Erhalte aber dann diese Fehlermeldung:
Failed to initialise SAM Account für User helmut:helmut

(was mir gerade einfällt: smbpasswd -a helmut
habe ich nicht probiert, vieleicht ist der Syntax so?


Für jede Hilfestellung Dankbar !

Helmut
 

Kernelman

Member
AW: Samba Fehlermeldung - Hilfe benötigt

Hallo Helmut,

helmutfahr schrieb:
smbpasswd -a helmut:helmut
ist der User "helmut:helmut" auf deinem System eingerichtet?

Wenn nein dann ist diese Meldung
Failed to initialise SAM Account für User helmut:helmut
normal.

(was mir gerade einfällt: smbpasswd -a helmut
habe ich nicht probiert, vieleicht ist der Syntax so?
Wenn du für den User "helmut" einen Eintrag in der Samba-Benutzerdatenbank erzeugen möchtest, dann stimmt diese Syntax.

Egal, welcher User - Grundvoraussetzung ist, dass dieser auf deinem System angelegt ist. Siehe dazu auch:
Code:
man useradd

Der Befehl smbpasswd -a username muss als root ausgeführt werden.
Code:
man smbpasswd
...
OPTIONS
       -a This option specifies that the username following should be added to the local smbpasswd file, with the new password typed (type
          <Enter> for the old password). This option is ignored if the username following already exists in the smbpasswd file and  it  is
          treated  like  a regular change password command. Note that the default passdb backends require the user to already exist in the
          system password file (usually /etc/passwd), else the request to add the user will fail.

          [COLOR='Red']This option is only available when running smbpasswd as root.[/COLOR]

Gruß

KM
 
Status
Für weitere Antworten geschlossen.
Oben