[Samba] Intended behaviour of "add user" and smbpasswd

Christoph Scheeder christoph.scheeder at scheeder.de
Tue Feb 15 08:59:15 GMT 2005


Hi,
Ritch Melton schrieb:
> Hi,
>    I'd like to upgrade my 2.2 samba to the latest 3.x stable, so I'm 
> experimenting with the new features of 3.x on a RHEL 3 clone. I've run 
> into some difficulty when using usrmgr.exe for administrating users.
>    I've filled out the 'add user script' define with:
>         add user script  = /usr/sbin/useradd -g sambausers -c "Samba 
> User" -d /dev/null  -s /bin/false -M "%u"

Mine looks pretty much as your's but i have '-m "%u"' as last parameter.
And *i can use usrmgr.exe* to administrate my users.
Have a look at your useradd manpage to verify the parameters you give to
it...

Christoph

>    When I try an add a user using usrmgr.exe, I get an 'Access is 
> Denied' message. I turned on debugging and I could see the request being 
> made, and I noticed that the unix account was being created, but the smb 
> backend account was not.
> 
>    It seems like the desired behaviour of 'add user' would add the smb 
> account in my backend (smbpasswd file)
>    I've searched high and low on Google, but I've been unable to find an 
> answer to this question. I have been able to find several smb.conf files 
> that look like mine.
> 
>    I'd appreciate any input.
> 
> Blue Skies,
> Ritch Melton



More information about the samba mailing list