[Samba] Unlocking Accounts

Gerald (Jerry) Carter jerry at samba.org
Mon Apr 19 17:35:29 GMT 2004


Adam Tauno Williams wrote:

> Once an account gets the "L" flag set in 
 > sambaAcctFlags is there a utility way to clear the lock on
 > the account?  I can clear the sambaBadPasswordCount with
 > pdbedit -z, but that leaves the account in a
> locked state.  I don't see any way to use pdbedit or 
 > smbpassword to unlock an account (although I can
 > enable/disable an account).

pdbedit -c='[]' <user> will clear all flags




cheers, jerry


More information about the samba mailing list