Advertisement
xtree1

module.ldif create

Jul 9th, 2014
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. cn=config listing
  2.  
  3. [root@pxe1kvm cn=config]# ls -alt
  4. total 24
  5. drwxr-x---. 3 ldap ldap 4096 Jul 2 16:52 .
  6. -rw-------. 1 ldap ldap 740 Jul 2 16:52 olcDatabase={2}hdb.ldif
  7. -rw-------. 1 ldap ldap 562 Jul 2 15:44 olcDatabase={1}monitor.ldif
  8. -rw-------. 1 ldap ldap 513 Jul 2 15:44 olcDatabase={0}config.ldif
  9. drwxr-x---. 2 ldap ldap 28 Jul 2 15:44 cn=schema
  10. -rw-------. 1 ldap ldap 408 Jul 2 15:44 olcDatabase={-1}frontend.ldif
  11. -rw-------. 1 ldap ldap 378 Jul 2 15:44 cn=schema.ldif
  12. drwxr-x---. 3 ldap ldap 43 Feb 26 03:09 ..
  13.  
  14. no olcDatabase={x}module.ldif file
  15.  
  16. I try to create one with
  17.  
  18. dn: cn=module{0},cn=config
  19. changetype: modify
  20. add: olcModuleLoad
  21. olcModuleLoad: {0}/usr/lib64/openldap/memberof.la
  22.  
  23. but it fails with
  24.  
  25. ldapmodify -Y EXTERNAL -H ldapi:/// -v -f ldapMdynalist.ldif
  26. ldap_initialize( ldapi:///??base )
  27. SASL/EXTERNAL authentication started
  28. SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
  29. SASL SSF: 0
  30. add olcModuleLoad:
  31. {0}/usr/lib64/openldap/memberof.la
  32. modifying entry "cn=module{0},cn=config"
  33. ldap_modify: No such object (32)
  34. matched DN: cn=config
  35.  
  36. how do you add the modules file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement