1 | include /etc/openldap/schema/core.schema
|
---|
2 | include /etc/openldap/schema/cosine.schema
|
---|
3 | include /etc/openldap/schema/nis.schema
|
---|
4 | include /etc/openldap/schema/inetorgperson.schema
|
---|
5 |
|
---|
6 | #include /etc/openldap/schema/rfc2307bis.schema
|
---|
7 | #include /etc/openldap/schema/yast.schema
|
---|
8 | #include /etc/openldap/schema/qmailuser.schema
|
---|
9 |
|
---|
10 | include /etc/openldap/schema/phpgwaccount.schema
|
---|
11 | include /etc/openldap/schema/samba3.schema
|
---|
12 | include /etc/openldap/schema/phpgwcontact.schema
|
---|
13 |
|
---|
14 | ####################################
|
---|
15 | # Global Directives:
|
---|
16 | sizelimit -1
|
---|
17 | timelimit -1
|
---|
18 | threads 16
|
---|
19 | schemacheck on
|
---|
20 | loglevel 0
|
---|
21 | #backend bdb
|
---|
22 | ####################################
|
---|
23 |
|
---|
24 | #referral ldap://root.openldap.org
|
---|
25 | pidfile /var/run/slapd/slapd.pid
|
---|
26 | argsfile /var/run/slapd/slapd.args
|
---|
27 |
|
---|
28 | modulepath /usr/lib/openldap/modules
|
---|
29 | # moduleload back_ldap.la
|
---|
30 | # moduleload back_meta.la
|
---|
31 | # moduleload back_monitor.la
|
---|
32 | # moduleload back_perl.la
|
---|
33 |
|
---|
34 | access to dn.base=""
|
---|
35 | by * read
|
---|
36 |
|
---|
37 | access to dn.base="cn=Subschema"
|
---|
38 | by * read
|
---|
39 |
|
---|
40 | access to attrs=userPassword,userPKCS12
|
---|
41 | by dn="cn=manager,LDAP_DN" write
|
---|
42 | by anonymous auth
|
---|
43 | by self write
|
---|
44 | by * auth
|
---|
45 |
|
---|
46 | access to attrs=shadowLastChange
|
---|
47 | by self write
|
---|
48 | by * read
|
---|
49 |
|
---|
50 | access to *
|
---|
51 | by dn="cn=manager,LDAP_DN" write
|
---|
52 | by * read
|
---|
53 |
|
---|
54 | #######################################################################
|
---|
55 | # BDB database definitions
|
---|
56 | #######################################################################
|
---|
57 | database ldbm
|
---|
58 | suffix "LDAP_DN"
|
---|
59 | #checkpoint 1024 5
|
---|
60 | checkpoint 512 30
|
---|
61 | cachesize 10000
|
---|
62 | rootdn "cn=manager,LDAP_DN"
|
---|
63 | rootpw LDAP_PWD
|
---|
64 | directory /var/lib/ldap
|
---|
65 |
|
---|
66 | # Indices to maintain
|
---|
67 | #index objectClass eq
|
---|
68 |
|
---|
69 | # Indexing options for database #1
|
---|
70 | index mail,objectClass,memberUid,uidNumber,phpgwAccountType,gidNumber,phpgwAccountStatus,ou pres,eq
|
---|
71 | index uid,cn,sn,givenName pres,eq,sub
|
---|