[Samba] unexpected password expiration
Marco Gaiarin
gaio at sv.lnf.it
Fri Sep 17 12:56:53 UTC 2021
Mandi! Rowland Penny via samba
In chel di` si favelave...
> There are a few ways of determining if/when a users password expires:
> There is the ms-DS-User-Password-Expired attribute, but this isn't
> available to Samba.
> There is the msDS-UserPasswordExpiryTimeComputed attribute, but again
> this isn't available.
AFAIk 'msDS-UserPasswordExpiryTimeComputed' IS avaiable...
root at vdcsv1:~# /usr/bin/ldbsearch --show-binary -H /var/lib/samba/private/sam.ldb -b DC=ad,DC=fvg,DC=lnf,DC=it '(&(objectClass=user)(sAMAccountName=gaio))' msDS-UserPasswordExpiryTimeComputed
# record 1
dn: CN=gaio,OU=Users,OU=SanVito,OU=FVG,DC=ad,DC=fvg,DC=lnf,DC=it
msDS-UserPasswordExpiryTimeComputed: 132831705240000000
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the samba
mailing list