summaryrefslogtreecommitdiff
path: root/deps/rabbitmq_auth_backend_ldap/example/global.ldif
blob: 373d9d9951b443f21fdd08fe63259280a2ab92c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Load modules for database type
dn: cn=module,cn=config
objectclass: olcModuleList
cn: module
olcModuleLoad: back_bdb.la

# Create directory database
dn: olcDatabase=bdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcBdbConfig
olcDatabase: bdb
# Domain name (e.g. rabbitmq.com)
olcSuffix: dc=rabbitmq,dc=com
# Location on system where database is stored
olcDbDirectory: /var/lib/ldap
# Manager of the database
olcRootDN: cn=admin,dc=rabbitmq,dc=com
olcRootPW: admin
olcAccess: to attrs=userPassword
  by self write
  by anonymous auth
  by dn.base="cn=admin,dc=rabbitmq,dc=com" write
  by * none
olcAccess: to *
  by self write
  by dn.base="cn=admin,dc=rabbitmq,dc=com" write
  by * read