Displaying 5 results from an estimated 5 matches for "w2u".
Did you mean:
2u
2019 Dec 03
2
Account locked and delayed user data propagation...
...n)
local LOD=$(ldbsearch ${LDB_OPTS} -b "${BASEDN}" "(&(objectClass=user)(sAMAccountName=$1))" lockoutDuration | grep "^lockoutDuration: " | cut -d ' ' -f 2-)
if [ -z "${LOD}" ]; then
LOD=0
fi
TMPF=$(w2u "$((${LOT} + ${LOD}))")
if [ ${TMPF} -gt ${NOW} ]; then
return 0
fi
# by default, is unlocked.
return 1
}
(w2u is a function that convert from windows timestamp to unix timestamp)
return '1', particulary the lockoutTime is >0,...
2019 Dec 03
0
Account locked and delayed user data propagation...
...dbsearch ${LDB_OPTS} -b "${BASEDN}" "(&(objectClass=user)(sAMAccountName=$1))" lockoutDuration | grep "^lockoutDuration: " | cut -d ' ' -f 2-)
> if [ -z "${LOD}" ]; then
> LOD=0
> fi
> TMPF=$(w2u "$((${LOT} + ${LOD}))")
> if [ ${TMPF} -gt ${NOW} ]; then
> return 0
> fi
>
> # by default, is unlocked.
> return 1
> }
>
> (w2u is a function that convert from windows timestamp to unix timestamp)
>
>...
2019 Nov 15
3
Account locked and delayed user data propagation...
I need to do some testing, but before to hit by head on a known wall, i
ask here.
My AD domain get used (via PAM/Winbind) to give access to some other
dervice, most notably here dovecot.
When password expire (or users change it) the MUA try the old password
some times, then ask for a new password; users cleraly get scared,
press randomly 'OK' or 'Cancel', but if they press 2-3
2019 Dec 04
2
Account locked and delayed user data propagation...
Mandi! Rowland penny via samba
In chel di` si favelave...
> If you go here: http://www.selfadsi.org/extended-ad/user-unlock.htm
> It says:
So, seems to me that 'Lockout-Duration' is an 'unused option'...
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via
2019 Dec 05
3
Account locked and delayed user data propagation...
...dbsearch ${LDB_OPTS} -b "${BASEDN}" "(&(objectClass=user)(sAMAccountName=$1))" lockoutDuration | grep "^lockoutDuration: " | cut -d ' ' -f 2-)
if [ -z "${LOD}" ] || [ ${LOD} -eq 0 ]; then
return 0
fi
TMPF=$(w2u "$((${LOT} + ${LOD}))")
if [ ${TMPF} -gt ${NOW} ]; then
return 0
fi
return 1
}
And finally seems to work. ;-)
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafam...