source: n4d-ldap/trunk/fuentes/install/usr/share/n4d/templates/slapd/configure/basic @ 330

Last change on this file since 330 was 330, checked in by hectorgh, 3 years ago

supporting mdbconfig instead of hdbconfig. ldap has changed its default config

File size: 786 bytes
Line 
1{
2        'olcDatabase={1}mdb,cn=config':
3        {
4                'olcRootDN': ['cn=admin,{{ LDAP_BASE_DN }}'],
5                'olcDatabase': ['{1}mdb'],
6                'olcRootPW': ['{{ PASSWORD_CRYPTED }}'],
7                'objectClass': ['olcDatabaseConfig', 'olcMdbConfig'],
8                'olcSuffix': ['{{ LDAP_BASE_DN }}'],
9                'olcDbCheckpoint': ['512 30'],
10                'olcDbIndex': ['objectClass eq', 'uidNumber eq', 'gidNumber eq', 'loginShell eq', 'uid eq,pres,sub', 'memberUid eq,pres,sub', 'uniqueMember eq,pres', 'default sub'],
11                'olcLastMod': ['TRUE'],
12                'olcDbDirectory': ['/var/lib/ldap'],
13                'olcAccess':[
14                                        'to attrs=userPassword,shadowLastChange by self write by anonymous auth by dn="cn=admin,{{ LDAP_BASE_DN }}" write by * none',
15                                        'to dn.base="" by * read',
16                                        'to * by self write by dn="cn=admin,{{ LDAP_BASE_DN }}" write by * read'
17                ]
18        }
19}
20
Note: See TracBrowser for help on using the repository browser.