Last active
June 29, 2016 09:35
-
-
Save jmcarbo/ca9bb4c2d2a5bbfcf951b563906ab4ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dn: CN=jmcarbo,OU=Usuaris,DC=BLA,DC=COM | |
changetype: modify | |
replace: userAccountControl | |
userAccountControl: 512 | |
- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dn: CN=jmcarbo,OU=Usuaris,DC=BLA,DC=COM | |
changetype: modify | |
replace: lockoutTime | |
lockoutTime: 0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldapmodify -x -h 9.9.9. -D "[email protected]" -w balbla -f jmcarbo2.ldif | |
ldapsearch -x -h 9.9.9.0 -D "[email protected]" -W -b "ou=usuaris,dc=BLA,dc=COM" -s sub "(cn=*)" cn mail sn userAccountControl lockoutTime lockoutDuration lockoutTime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment