Password Policy
Default Domain Password Policy
CN={31B2F340-016D-11D2-945F-00C04FB984F9},CN=Policies,CN=System,DC=weelee,DC=local# Get the Default Domain Password Policy
netexec smb -u [username] -p [password] -d [domain] --pass-polldapsearch -x -H ldap://dc.domain.local \
-D "username@domain" -w 'password' \
-b "DC=domain,DC=local" \
-s base "(objectClass=domainDNS)" \
maxPwdAge minPwdAge minPwdLength pwdHistoryLength pwdProperties lockoutThreshold lockoutDuration lockoutObservationWindowFine-Grained Password Policy
Last updated