[Pkg-samba-maint] Bug#528134: Bug#528134: samba-common: smbpasswd -a user does not creat /etc/samba/smbpasswd file

Susan austerasu at gmail.com
Fri Jul 31 20:02:10 UTC 2009


I was able to produce the following error using smbpasswd when the directory
/etc/samba did not exist:

[root at varda]# smbpasswd -a
New SMB password:
Retype new SMB password:
startsmbfilepwent_internal: file /etc/samba/smbpasswd did not exist.
Couldn't create new one. Error was: No such file or directoryUnable to open
passdb database.
startsmbfilepwent_internal: file /etc/samba/smbpasswd did not exist.
Couldn't create new one. Error was: No such file or
directorystartsmbfilepwent_internal: too many race conditions creating file
/etc/samba/smbpasswd
add_smbfilepwd_entry: unable to open file.
Failed to add entry for user root.
Failed to modify password entry for user root
[root at varda]#

If this looks like the error you got, try the following:

# cd /etc
# mkdir samba
# smbpasswd -a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20090731/6056d473/attachment.htm>


More information about the Pkg-samba-maint mailing list