[Samba] LockoutTime will not reset
Rowland Penny
rpenny at samba.org
Sat Jan 25 09:11:37 UTC 2025
On Fri, 24 Jan 2025 13:27:49 -0600
Ham via samba <samba at lists.samba.org> wrote:
> Yesterday one of my users was prompted to change his password (which
> he did). Today he tried to login and his account was locked. I
> first used the Active Directory Users and Computers tool on Windows
> to unlock the account. This appeared to accept the setting but did
> not work and when relaunching the app it still showed the account
> locked.
>
> I next tried to use "samba-tool user edit username" on the DC. It
> appeared to work and the lockoutTime showed 0 when I reopened using
> samba-tool. But the user still received a locked out message. Upon
> rechecking with samba-tool it showed a time different than 0.
This would seem to suggest that something is still using the old
password, an email client for instance, you need to find whatever this
is and fix it.
>
> I then tried to reset using:
>
> ldbedit -H /var/lib/samba/private/sam.ldb -R
> "CN=username,CN=Users,DC=example,DC=com"
>
> But this acted the same way as using samba-tool edit.
It would, they both work in the same way.
Rowland
More information about the samba
mailing list