Displaying 2 results from an estimated 2 matches for "def_uac".
Did you mean:
def66ac
2019 Nov 15
3
Account locked and delayed user data propagation...
...rch ${LDB_OPTS} -b "${BASEDN}" "(&(objectClass=user)(sAMAccountName=$1))" userAccountControl | grep "^userAccountControl: " | cut -d ' ' -f 2-)
# Prevent error conditions on query error.
if [ -z "$UAC" ]; then
UAC=${DEF_UAC}
fi
((($UAC & 16) == 16)) && locked="true" # 0x00000010
if [ "${locked}" = "true" ]; then
return 0
fi
return 1
}
Seems to me (as stated, i need to do some experimentation...) that
account...
2019 Nov 15
0
Account locked and delayed user data propagation...
..."${BASEDN}" "(&(objectClass=user)(sAMAccountName=$1))" userAccountControl | grep "^userAccountControl: " | cut -d ' ' -f 2-)
> # Prevent error conditions on query error.
> if [ -z "$UAC" ]; then
> UAC=${DEF_UAC}
> fi
> ((($UAC & 16) == 16)) && locked="true" # 0x00000010
> if [ "${locked}" = "true" ]; then
> return 0
> fi
> return 1
> }
>
>
> Seems to me (as stat...