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

Tue Jun 23 09:30:10 UTC 2009
JohnS <jses27 at gmail.com>

On Tue, 2009-06-23 at 11:25 +0200, Coert Waagmeester wrote:
> On Tue, 2009-06-23 at 10:08 +0100, Kevin Thorpe wrote:
> > I've got a bit of a problem with Samba. I just can't work out how to 
> > change passwords or remove users.
> > I've just got user security.. lines in smb.conf are:
> > 
> >          security = user
> >          passdb backend = tdbsam
> > 
> > I've removed the user using pdbedit, I've removed the unix user, 
> > smbpasswd says the user doesn't exist
> > yet I can still connect to the shares. I'm obviously just missing 
> > something here. Can anyone point me in the
> > right direction?
> > 

> 
> check out smbpasswd
---
You mean "smbpasswd --help" and then that will get you rolling.

John