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

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

adding project files

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