|
| 1 | +dn: cn=config |
| 2 | +objectClass: olcGlobal |
| 3 | +cn: config |
| 4 | +olcPidFile: /var/run/slapd/slapd.pid |
| 5 | +olcArgsFile: /var/run/slapd/slapd.args |
| 6 | +olcLogLevel: none |
| 7 | +olcToolThreads: 1 |
| 8 | + |
| 9 | +dn: olcDatabase={-1}frontend,cn=config |
| 10 | +objectClass: olcDatabaseConfig |
| 11 | +objectClass: olcFrontendConfig |
| 12 | +olcDatabase: {-1}frontend |
| 13 | +olcSizeLimit: 500 |
| 14 | +olcAccess: {0}to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by * break |
| 15 | +olcAccess: {1}to dn.exact="" by * read |
| 16 | +olcAccess: {2}to dn.base="cn=Subschema" by * read |
| 17 | + |
| 18 | +dn: olcDatabase=config,cn=config |
| 19 | +objectClass: olcDatabaseConfig |
| 20 | +olcDatabase: config |
| 21 | +olcAccess: to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by * break |
| 22 | + |
| 23 | +dn: cn=schema,cn=config |
| 24 | +objectClass: olcSchemaConfig |
| 25 | +cn: schema |
| 26 | + |
| 27 | +include: file:///etc/ldap/schema/core.ldif |
| 28 | +include: file:///etc/ldap/schema/cosine.ldif |
| 29 | +include: file:///etc/ldap/schema/nis.ldif |
| 30 | +include: file:///etc/ldap/schema/inetorgperson.ldif |
| 31 | + |
| 32 | +dn: cn=module{0},cn=config |
| 33 | +objectClass: olcModuleList |
| 34 | +cn: module{0} |
| 35 | +olcModulePath: /usr/lib/ldap |
| 36 | +olcModuleLoad: back_hdb |
| 37 | + |
| 38 | +dn: olcBackend=hdb,cn=config |
| 39 | +objectClass: olcBackendConfig |
| 40 | +olcBackend: hdb |
| 41 | + |
| 42 | +dn: olcDatabase=hdb,cn=config |
| 43 | +objectClass: olcDatabaseConfig |
| 44 | +objectClass: olcHdbConfig |
| 45 | +olcDatabase: hdb |
| 46 | +olcDbCheckpoint: 512 30 |
| 47 | +olcDbConfig: set_cachesize 1 0 0 |
| 48 | +olcDbConfig: set_lk_max_objects 1500 |
| 49 | +olcDbConfig: set_lk_max_locks 1500 |
| 50 | +olcDbConfig: set_lk_max_lockers 1500 |
| 51 | +olcLastMod: TRUE |
| 52 | +olcSuffix: dc=rubyldap,dc=com |
| 53 | +olcDbDirectory: /var/lib/ldap |
| 54 | +olcRootDN: cn=admin,dc=rubyldap,dc=com |
| 55 | +# admin's password: "passworD1" |
| 56 | +olcRootPW: {SHA}LFSkM9eegU6j3PeGG7UuHrT/KZM= |
| 57 | +olcDbIndex: objectClass eq |
| 58 | +olcAccess: to attrs=userPassword,shadowLastChange |
| 59 | + by self write |
| 60 | + by anonymous auth |
| 61 | + by dn="cn=admin,dc=rubyldap,dc=com" write |
| 62 | + by * none |
| 63 | +olcAccess: to dn.base="" by * read |
| 64 | +olcAccess: to * |
| 65 | + by self write |
| 66 | + by dn="cn=admin,dc=rubyldap,dc=com" write |
| 67 | + by * read |
0 commit comments