Implementare un'architettura ridondante master/slave OpenLDAP: differenze tra le versioni

Riga 7: Riga 7:
<br/>
<br/>
'''File <tt>/etc/ldap/slapd.conf</tt>''':
'''File <tt>/etc/ldap/slapd.conf</tt>''':
<pre>
# Allow LDAPv2 binds
allow bind_v2


# Schema and objectClass definitions
: # Allow LDAPv2 binds
include /etc/ldap/schema/core.schema
: allow bind_v2
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/samba.schema
'''include /etc/ldap/schema/samba.schema'''


pidfile /var/run/slapd/slapd.pid
: # Schema and objectClass definitions
argsfile /var/run/slapd/slapd.args
: include /etc/ldap/schema/core.schema
'''loglevel sync'''
: include /etc/ldap/schema/cosine.schema
modulepath /usr/lib/ldap
: include /etc/ldap/schema/nis.schema
moduleload back_bdb
: include /etc/ldap/schema/inetorgperson.schema
sizelimit 500
: include /etc/ldap/schema/samba.schema
:'''include /etc/ldap/schema/samba.schema'''
 
: pidfile /var/run/slapd/slapd.pid
: argsfile /var/run/slapd/slapd.args
: '''loglevel sync'''
: modulepath /usr/lib/ldap
: moduleload back_bdb
: sizelimit 500
tool-threads 1
tool-threads 1
backend bdb
backend bdb