[CentOS] How do I change passwords / remove users for Samba?

Tue Jun 23 10:12:02 UTC 2009
JohnS <jses27 at gmail.com>

On Tue, 2009-06-23 at 10:48 +0100, Kevin Thorpe wrote:
> On 23/06/2009 10:43, JohnS wrote: 
> > On Tue, 2009-06-23 at 10:25 +0100, Kevin Thorpe wrote:
> > 
> >   
> > > [root at database samba]# smbpasswd kevin
> > > New SMB password:
> > > Retype new SMB password:
> > > Failed to find entry for user kevin.
> > > Failed to modify password entry for user kevin
> > > 
> > > Yet I can still connect to the shares as kevin..... strange
> > >     
> > ---
> > And replying to you again if the user "kevin" is a System User You will
> > still be able to connect to the share.
> >   
> Oh. Does that mean that Samba looks in passdb.tdb first then falls
> back to passwd/shadow?
---
Ok, what I mean is when kevin is a system user. Then you do smbpasswd
kevin and enter a password samba uses the .tdb database when 
security = user.

When security = AD samba checks the Active Directory LDAP Database
first. This help on explaining it?

John