Julien Garnier wrote:Dmitriy Kirhlarov a Ãcrit :Julien Garnier wrote:No, it's the same, nothings returnHi,
I was looking for a solution to monitor syncrepl between two server and find that I need to compare contextCSN on the two server.
The problem is that entryCSN doesn't exist on my slave server :
On the master (don't know openldap ver):
# ldapsearch -x -h master -b "ou=people,dc=compagnie,dc=com" -s base
Try:
ldapsearch -x -h master -b "ou=people,dc=compagnie,dc=com" -s base -LLL '' +
contextCSN stored in root object. ldapsearch -x -h master -b "dc=com" -s base -LLL '' +
WBR. Dmitriy
My root object is "ou=people,dc=compagine,dc=fr"
my slapd.conf :
################################################### allow bind_v2
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/cnrs.schema
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
loglevel 1
modulepath /usr/lib/ldap moduleload back_bdb
sizelimit 50000
tool-threads 2
backend bdb checkpoint 512 30
database bdb
suffix "ou=People,dc=compagnie,dc=com" rootdn "cn=admin,ou=People,dc=compagnie,dc=com" rootpw "secret"
directory "/var/lib/ldap"
dbconfig set_cachesize 0 2097152 0 dbconfig set_lk_max_objects 1500 dbconfig set_lk_max_locks 1500 dbconfig set_lk_max_lockers 1500
lastmod on
#id du client (numero DR)
syncrepl rid=013
provider=ldap://master:389
searchbase="ou=People,dc=compagnie,dc=com"
type=refreshAndPersist
interval=00:00:15:00
scop=sub
filter=(cnrsDelegation=DR13*)
schemachecking=on
updatedn="cn=admin,ou=people,dc=compagnie,dc=com"
bindmethod=simple
binddn="cn=sync-dr13,ou=people,dc=compagnie,dc=com"
credentials="secret"access to attrs=userPassword,shadowLastChange
by dn="cn=admin,ou=People,dc=compagnie,dc=com" write
by anonymous auth
by self write
by * noneaccess to dn.base="" by * read
access to *
by dn="cn=admin,ou=People,dc=compagnie,dc=com" write
by * read
#####################################################What I've done is : reinstall linux install openldap from aptitude (slapd 2.3.30 (Mar 9 2007 05:43:02)) copy paste my config file to /etc/ldap/slapd.conf starting server
and nothing else. search on base doesn't retrn any results :
Thanks for Your help
Julien
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature