[Samba] Cannot delete users from samba

Helmut Hullen Hullen at t-online.de
Sat Sep 8 07:39:00 GMT 2007


Hallo, Martin,

Du (martin.letis) meintest am 08.09.07:


> How can I delete a user from samba (smbpasswd) if the user
> her/himself is no longer in unix?

> # smbpasswd -x abcdefgh
> Failed to initialise SAM_ACCOUNT for user abcdefgh.
> Does this user exist in the UNIX password database ?
> Failed to modify password entry for user abcdefgh

> Any idea?

Which type of password db do you use:
        .../samba/private/smbpasswd
        .../samba/private/passdb.tdb
        LDAP

For smbpasswd stopping Samba and deleting the line manually works well.

Viele Gruesse!
Helmut


More information about the samba mailing list