SRD

modify

SRD
Jan 28th, 2016
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. I'm trying to modify shadowMax, and shadowWarning for an ldap user. Do I have this correct?
  2.  
  3. test.ldif file
  4. ---
  5. dn: uid=james,dc=my,dc=example,dc=com
  6. changetype: modify
  7. replace: shadowMax
  8. shadowMax: 9999
  9. -
  10. replace: shadowWarning
  11. shadowWarning: 14
  12.  
  13.  
  14. $ ldapmodify -W -x -D "uid=james,dc=my,dc=example,dc=com" -f test.ldif
  15. Enter LDAP Password:
  16. modifying entry "uid=james,dc=my,dc=example,dc=com"
  17. ldap_modify: No such object (32)
  18. matched DN: dc=my,dc=example,dc=com
Advertisement
Add Comment
Please, Sign In to add comment