I was able to produce the following error using smbpasswd when the directory /etc/samba did not exist:<br><br>[root@varda]# smbpasswd -a<br>New SMB password:<br>Retype new SMB password:<br>startsmbfilepwent_internal: file /etc/samba/smbpasswd did not exist. Couldn&#39;t create new one. Error was: No such file or directoryUnable to open passdb database.<br>

startsmbfilepwent_internal: file /etc/samba/smbpasswd did not exist. Couldn&#39;t create new one. Error was: No such file or directorystartsmbfilepwent_internal: too many race conditions creating file /etc/samba/smbpasswd<br>

add_smbfilepwd_entry: unable to open file.<br>Failed to add entry for user root.<br>Failed to modify password entry for user root<br>[root@varda]#<br><br>If this looks like the error you got, try the following:<br><br># cd /etc<br>

# mkdir samba<br># smbpasswd -a<br><br><br><br>