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

Kevin Thorpe kevin at pibenchmark.com
Tue Jun 23 09:25:54 UTC 2009


On 23/06/2009 10:25, 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?
>>
>> tp://lists.centos.org/mailman/listinfo/centos
>>      
>
> check out smbpasswd
>
>    
[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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090623/c2db2a08/attachment.html>


More information about the CentOS mailing list