search for: get_user_lockout_dur

Displaying 2 results from an estimated 2 matches for "get_user_lockout_dur".

2019 Dec 08
3
Account locked and delayed user data propagation...
...he account can be unlocked with lockoutTime set if the duration has expired: >From construct_msds_user_account_control_computed(): int64_t lockoutTime = ldb_msg_find_attr_as_int64(msg, "lockoutTime", 0); if (lockoutTime != 0) { int64_t lockoutDuration; lockoutDuration = get_user_lockout_duration(module, msg, parent, nc_root); /* zero locks out until the administrator intervenes */ if (lockoutDuration >= 0) { msDS_User_Account_Control_Computed |= UF_LOCKOUT; } else if (lockoutTime - lockoutDuration >= now) { msDS_User_Account_Control_Comp...
2019 Dec 06
2
Account locked and delayed user data propagation...
Mandi! Rowland penny via samba In chel di` si favelave... > You cannot create an ldap filter using the above, you would have to filter > the result of the ldap search. I can confirm: root at vdcsv1:~# ldbsearch -H /var/lib/samba/private/sam.ldb -b DC=ad,DC=fvg,DC=lnf,DC=it '(&(objectClass=user)(sAMAccountName=gaio))' msDS-User-Account-Control-Computed # record 1 dn: