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).
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