02_user_bind.ldif 955 B

12345678910111213141516171819202122232425262728
  1. # Bind User: wpsbinddev
  2. dn: cn=wpsbinddev,ou=middleware,dc=btn,dc=co,dc=id
  3. objectClass: simpleSecurityObject
  4. objectClass: organizationalRole
  5. cn: wpsbinddev
  6. userPassword: {SSHA}Mcu2IVL99zWsPXy2NL5BzWonG9HR6nEA
  7. # Grant permissions to wpsbinddev and admin
  8. dn: olcDatabase={0}config,cn=config
  9. changetype: modify
  10. add: olcAccess
  11. olcAccess: to * by dn.exact="cn=admin,dc=btn,dc=co,dc=id" write by dn.exact="cn=wpsbinddev,dc=btn,dc=co,dc=id" read by * none
  12. dn: olcDatabase={1}mdb,cn=config
  13. changetype: modify
  14. add: olcAccess
  15. olcAccess: to * by dn.exact="cn=admin,dc=btn,dc=co,dc=id" write by dn.exact="cn=wpsbinddev,dc=btn,dc=co,dc=id" read by * none
  16. # Grant wpsbinddev access to schema and config
  17. dn: cn=schema,cn=config
  18. changetype: modify
  19. add: olcAccess
  20. olcAccess: to * by dn.exact="cn=wpsbinddev,dc=btn,dc=co,dc=id" read by * none
  21. dn: cn=config
  22. changetype: modify
  23. add: olcAccess
  24. olcAccess: to * by dn.exact="cn=wpsbinddev,dc=btn,dc=co,dc=id" read by * none