Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I'm trying to modify shadowMax, and shadowWarning for an ldap user. Do I have this correct?
- test.ldif file
- ---
- dn: uid=james,dc=my,dc=example,dc=com
- changetype: modify
- replace: shadowMax
- shadowMax: 9999
- -
- replace: shadowWarning
- shadowWarning: 14
- $ ldapmodify -W -x -D "uid=james,dc=my,dc=example,dc=com" -f test.ldif
- Enter LDAP Password:
- modifying entry "uid=james,dc=my,dc=example,dc=com"
- ldap_modify: No such object (32)
- matched DN: dc=my,dc=example,dc=com
Advertisement
Add Comment
Please, Sign In to add comment