Pl. így:
serverID 999
include /etc/ldap/schema/core.schema
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/misc.schema
include /etc/ldap/schema/ppolicy.schemamodulepath /usr/lib/ldap
moduleload back_bdb
moduleload syncprov
moduleload valsortpidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
logfile /var/log/slapd.logloglevel 0
backend bdb
database bdb
suffix "dc=ceg,dc=hu"
rootdn "cn=admin,dc=ceg,dc=hu"
directory /var/lib/ldap
lastmod oncheckpoint 512 30
index default pres,eq,sub
access to attrs=userPassword
by dn="cn=replicator,dc=ceg,dc=hu" write
by anonymous auth
by self write
by * noneaccess to dn.base=""
by * readaccess to *
by dn="cn=replicator,dc=ceg,dc=hu" write
by * readoverlay valsort
valsort-attr uid ou=People,dc=ceg,dc=hu alpha-ascendoverlay syncprov
syncprov-checkpoint 2 60
syncprov-sessionlog 1000syncrepl rid=001
provider=ldap://172.16.1.254
bindmethod=simple
binddn="cn=replicator,dc=ceg,dc=hu"
credentials=TITKOS JELSZO
searchbase="ou=FTP,dc=ceg,dc=hu"
schemachecking=on
type=refreshAndPersist
retry="60 +"syncrepl rid=999
provider=ldap://127.0.0.1
bindmethod=simple
binddn="cn=replicator,dc=ceg,dc=hu"
credentials=TITKOS JELSZO
searchbase="ou=FTP,dc=ceg,dc=hu"
schemachecking=on
type=refreshAndPersist
retry="60 +"mirrormode on
A serverid-t változtatod, mert mindegyik gépen ua. a konfig...
Több gépet is felvehetsz... természetesen más és más rid-del...
--
Debian Linux rulez... :D