Anyone resolved "failed to lock SMB passwd file"?

Robert Dahlem Robert.Dahlem at
Wed Oct 28 21:54:42 GMT 1998


On Wed, 28 Oct 1998 21:06:43 +1100, Fulvio Corno wrote:

>I'm experiencing long connect delays due to password file locking
>errors. For each connection samba logs the following errors:
>do_pw_lock: failed to lock SMB passwd file.
>mod_smbpwd_entry: unable to lock file
>                     /usr/local/samba-1.9.18p10/private/smbpasswd
>samba samba-1.9.18p10, running from inetd, on SunOS 4.1.4
>update encrypted = yes, encrypt passwords = no

This seems to be some long standing bug since "update encrypted" came up:

Samba locks smbpasswd when it runs with "update encryted = yes" and does not find 
the user to be updated in smbpasswd. Make sure you have *all* users in smbpasswd 
and the problem will disappear.

Perhaps someone has a bit of spare time to proove this and report to samba-bugs. I 
feel discouraged to do so because I reported several problems and never got 
something back but the machine generated reply to be patient ...

Hasta la vista,

Robert.Dahlem at
Radio Bornheim - 2:2461/332 at fidonet +49-69-4930830  (ZyX, V34)
                 2:2461/326 at fidonet +49-69-94414444 (ISDN X.75)

More information about the samba mailing list