Hallo Helmut,

Zitat von
helmutfahr
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:
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.
This option is only available when running smbpasswd as root.
Gruß
KM
Lesezeichen