[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: openldap syncrepl Provider with Slave(older version)
Rupesh,
Rupesh Thakkar schrieb:
#syncrepl Provider for primary db
overlay syncprov
syncprov-checkpoint 1000 60
# Let the replica DN have limitless searches
limits dn.exact="umObjectGUID=218afb42cb5e11e09542001a64e587d4,ou=People,dc=Avaya" time.soft=unlimited time.hard=unlimited size.soft=unlimited size.hard=unlimited
limits dn.exact="cn=replicator,dc=Avaya" time.soft=unlimited time.hard=unlimited size.soft=unlimited size.hard=unlimited
[...]
syncrepl rid=001
provider=ldap://localhost:389/
binddn="cn=replicator,dc=Avaya"
#binddn="umObjectGUID=31ff609ecb5e11e09542001a64e587d4,ou=People,dc=Avaya
bindmethod=simple
credentials=Testpw
#credentials=1234
searchbase="dc=Avaya"
type=refreshAndPersist
retry="5 5 300 5"
As far as I know, you cannot comment out "lines" in options like
syncrepl, because interally this is only one line. And so everything
after your first "#" is commented out.
"If a line begins with white space, it is considered a continuation of
the previous line. No physical line should be over 2000 bytes long.
Blank lines and comment lines beginning with a `#' character are
ignored. Note: continuation lines are unwrapped before comment pro-
cessing is applied."
- man slapd.conf
Marc