[Samba] Replacing Windows account with local account.

Stephen Carville carville at cpl.net
Sat Aug 12 20:58:59 GMT 2006

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.

Stephen Carville -- polluting the ranks of skeptics since 1995.
As democracy is perfected, the office of president represents, more and 
more closely, the inner soul of the people. On some great and glorious 
day the plain folks of the land will reach their heart's desire at last 
and the White House will be adorned by a downright moron.
              -- H. L. Mencken

More information about the samba mailing list