-
Notifications
You must be signed in to change notification settings - Fork 1
/
slapd2.ldif
91 lines (81 loc) · 2.51 KB
/
slapd2.ldif
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
dn: cn=config
objectClass: olcGlobal
cn: config
dn: cn=schema,cn=config
objectClass: olcSchemaConfig
cn: schema
dn: olcDatabase=frontend,cn=config
objectClass: olcDatabaseConfig
olcDatabase: frontend
olcAccess: to * by * read
dn: olcDatabase=config,cn=config
objectClass: olcDatabaseConfig
olcDatabase: config
olcRootDN: cn=root,cn=config
# Hash value for "secret" generated with slappasswd -s secret
olcRootPW: {SSHA}ZKKuqbEKJfKSXhUbHG3fG8MDn9j1v4QN
# olcAccess: to * by * none
olcAccess: to *
by dn.exact="cn=root,cn=config" manage
by * none
include: file:///usr/local/etc/openldap/schema/core.ldif
include: file:///usr/local/etc/openldap/schema/ppolicy.ldif
#######################################################################
# BDB/HDB database definitions
#######################################################################
# dn: olcDatabase=bdb,cn=config
# objectClass: olcDatabaseConfig
# objectClass: olcBdbConfig
# olcDatabase: bdb
# olcSuffix: dc=auth,dc=com
# olcRootDN: cn=Manager,dc=auth,dc=com
# olcRootPW: secret
# olcDbDirectory: /usr/local/var/auth-data
# olcDbCachesize: 1000
# olcDbIDLcacheSize: 3000
# olcDbSearchStack: 8
# olcDbIndex: objectClass,ou,cn,sn,uid,email eq
# olcAccess: to attrs=userPassword
# by self write
# by anonymous auth
# by dn.base="cn=Manager,dc=auth,dc=com" write
# by * none
# olcAccess: to *
# by self write
# by anonymous search
# by dn.base="cn=Manager,dc=auth,dc=com" write
# by * read
# dn: olcOverlay=ppolicy,olcDatabase={1}bdb,cn=config
# objectclass: olcPPolicyConfig
# olcOverlay: ppolicy
# olcPPolicyDefault: cn=passwordDefault,ou=Policies,dc=auth,dc=com
#######################################################################
# MDB database definitions
#######################################################################
dn: olcDatabase=mdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcMdbConfig
olcDatabase: mdb
olcSuffix: dc=auth,dc=com
olcDbDirectory: /usr/local/var/auth-data
olcRootDN: cn=Manager,dc=auth,dc=com
olcRootPW: secret
olcDbIndex: objectClass eq
olcLastMod: TRUE
olcMonitoring: TRUE
olcDbEnvFlags: writemap
olcDBNoSync: TRUE
olcAccess: to *
by self write
by anonymous search
by dn.base="cn=Manager,dc=auth,dc=com" write
by * read
olcAccess: to attrs=userPassword
by dn="cn=Manager,dc=auth,dc=com" write
by anonymous auth
by self write
by * none
dn: olcOverlay=ppolicy,olcDatabase={1}mdb,cn=config
objectclass: olcPPolicyConfig
olcOverlay: ppolicy
olcPPolicyDefault: cn=passwordDefault,ou=Policies,dc=auth,dc=com