Re: Samba: Could not get smbpasswd to work. Problem?



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@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

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Segmentation fault with smbpasswd
    ... logon script = scripts\logon.bat ... After a fresh install of samba smbpasswd gives this: ... Retype new SMB password: ...
    (freebsd-questions)
  • Re: Segmentation fault with smbpasswd
    ... logon script = scripts\logon.bat ... After a fresh install of samba smbpasswd gives this: ... Retype new SMB password: ...
    (freebsd-questions)
  • Re: [SOLVED] Samba: Could not get smbpasswd to work. Problem?
    ... Trying to get my Samba server running on FC5, ... smbpasswd failed to complete. ... Retype new SMB password: ... Failed to find entry for user aUser. ...
    (Fedora)
  • Samba: Could not get smbpasswd to work. Problem?
    ... Trying to get my Samba server running on FC5, ... smbpasswd failed to complete. ... Retype new SMB password: ... Failed to find entry for user aUser. ...
    (Fedora)
  • Problem with smbpasswd
    ... I set up samba and added my user name w/ smbpasswd and there was no problems. ... I created a new user with useradd and when I try to set his smb password I get the following errors: ... Failed to modify password entry for user NewUser ...
    (Fedora)