Friday, May 08, 2009

mandriva-directory-server-on-debian-etch

pdc:/etc/ldap# diff slapd.conf slapd.conf-mds
3d2
<
6d4
<
9d6
<
14a12,19
> include /etc/ldap/schema/mmc.schema
> include /etc/ldap/schema/samba.schema
> include /etc/ldap/schema/printer.schema
> include /etc/ldap/schema/mail.schema
> include /etc/ldap/schema/dnszone.schema
> include /etc/ldap/schema/dhcp.schema
>
> schemacheck on
24c29
< loglevel none
---
> loglevel 0
27,28c32,33
< modulepath /usr/lib/ldap
< moduleload back_hdb
---
> modulepath /usr/lib/ldap
> moduleload back_bdb
38c43
< # Specific Backend Directives for hdb:
---
> # Specific Backend Directives for bdb:
41c46,47
< backend hdb
---
> backend bdb
> checkpoint 512 30
47c53
< #backend
---
> #backend
50c56
< # Specific Directives for database #1, of type hdb:
---
> # Specific Directives for database #1, of type bdb:
53c59
< database hdb
---
> database bdb
56c62
< suffix "dc=acbgroup,dc=com"
---
> suffix "dc=example,dc=com"
60c66,67
< # rootdn "cn=admin,dc=acbgroup,dc=com"
---
> rootdn "cn=admin,dc=example,dc=com"
> rootpw {SSHA}kPd9OeiwGx4lyZUiQ2NFmzXV0JWyLV9A
65,69d71
< # The dbconfig settings are used to generate a DB_CONFIG file the first
< # time slapd starts. They do NOT override existing an existing DB_CONFIG
< # file. You should therefore change these settings in DB_CONFIG directly
< # or remove DB_CONFIG and restart slapd for changes to take effect.
<
75,77c77,78
< # to get slapd running at all. See http://bugs.debian.org/303057 for more
< # information.
<
---
> # to get slapd running at all. See http://bugs.debian.org/303057
> # for more information.
79a81
>
81a84
>
86c89,94
< index objectClass eq
---
> index objectClass,uidNumber,gidNumber eq
> index cn,sn,uid,displayName pres,sub,eq
> index memberUid,mail,givenname eq,subinitial
> index sambaSID,sambaPrimaryGroupSID,sambaDomainName eq
> index zoneName,relativeDomainName eq
> index dhcpHWAddress,dhcpClassData eq
91,94d98
< # Checkpoint the BerkeleyDB database periodically in case of system
< # failure and to speed slapd shutdown.
< checkpoint 512 30
<
96,97c100
< # replogfile /var/lib/ldap/replog
<
---
> # replogfile /var/lib/ldap/replog
103,104c106,107
< access to attrs=userPassword,shadowLastChange
< by dn="cn=admin,dc=acbgroup,dc=com" write
---
> access to attrs=userPassword,sambaLMPassword,sambaNTPassword
> by dn="cn=admin,dc=example,dc=com" write
123c126
< by dn="cn=admin,dc=acbgroup,dc=com" write
---
> by dn="cn=admin,dc=example,dc=com" write
129c132
< # by dn="cn=admin,dc=acbgroup,dc=com" write
---
> # by dn="cn=admin,dc=example,dc=com" write
133c136
< # Specific Directives for database #2, of type 'other' (can be hdb too):
---
> # Specific Directives for database #2, of type 'other' (can be bdb too):
139c142,143
< #suffix "dc=debian,dc=org"
---
> #suffix "dc=debian,dc=org"