Re: [Samba] Unlocking Accounts

2004-04-22 Thread Andrew Bartlett
On Tue, 2004-04-20 at 03:35, Gerald (Jerry) Carter wrote: 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

Re: [Samba] Unlocking Accounts

2004-04-22 Thread Adam Tauno Williams
|pdbedit -c='[]' user will clear all flags | Removing the 'U' flag is probably a bad idea (breaks some user manager | function at least), so I would suggest | pdbedit -c='[U]' The U flag is set by default. I tested it before I sent the mail. I get - [EMAIL PROTECTED] root]# pdbedit -c='[U]'

Re: [Samba] Unlocking Accounts

2004-04-19 Thread Gerald (Jerry) Carter
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

[Samba] Unlocking Accounts

2004-04-18 Thread Adam Tauno Williams
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