search for: ldb_msg_find_attr_as_int64

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

2019 Dec 08
3
Account locked and delayed user data propagation...
...y honour the Password Settings Objects, eg fine grained password policy. It also avoids computing the lockout duration on the client. The 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_...
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: