[Samba] Replacing Windows account with local account.

Stephen Carville effcee at heronforge.net
Mon Aug 14 05:42:54 GMT 2006


Stephen Carville wrote:
> OK, I'm stumped.
> 
> I have a Samba server (v3.0.20a) with security=DOMAIN and using winbind
> to authenticate non-local users against a W2K domain controller. This
> setup happily serves out home directories and about six other shares.
> 
> I need to add a local UNIX account for a formerly Windows only user.
> When I try useradd I get: user <username> exists.  This makes sense
> becasue of winbind.  What I cannot figure out is how 'erase' him so I
> can create a local user account.  I've read thru the man ages but I
> can't see how to do this.

I'm thinking I can comment out the windbind in /etc/nswitch.conf, create 
a unix user, set up the mappng in smbusers, then uncomment winbind. 
I'll try that Monday.

--
Stephen



More information about the samba mailing list