Samba: Could not get smbpasswd to work. Problem?

Craig White craigwhite at azapple.com
Wed Apr 5 16:30:38 UTC 2006


On Wed, 2006-04-05 at 09:20 -0700, Dan Thurman wrote:
> Folks,
> 
> Trying to get my Samba server running on FC5, but cannot seem
> to be able to get shares working right.  I noticed that I had
> no entries in the /etc/samba/smbpasswd file so I tried to add
> my users via smbpasswd <user> and provided the passwords but
> smbpasswd failed to complete.  Here is the results:
> 
> [root at mysystem samba]# smbpasswd aUser
> New SMB password:
> Retype new SMB password:
> Failed to find entry for user aUser.
> Failed to modify password entry for user aUser
> 
> I checked to make sure that this user had an account
> in the /etc/password file and yes, they do so I am not
> sure why smbpasswd is not accepting it.
> 
> Anyone have problems with this?
----
are you sure that samba would use /etc/samba/smbpasswd as backend?

what is output of 'testparm -s -v |grep passdb'

anyway...the way to add an smb user is

smbpasswd -a aUser

you are probably going to have to keep an eye on /var/log/messages to
see if there is SELinux issues too.

Craig




More information about the fedora-list mailing list