[Date Prev][Date Next] [Chronological] [Thread] [Top]

Problem using syncrepl for replication



Hi,

now I have another problem. I want to use syncrepl instead of replica for
client side replication. After configuring the client and starting the slap
process, it stops right after starting. Anything wrong with my
configuration?

THX for help!


/var/log/messages output:

openldapslave slapd[22732]: @(#) $OpenLDAP: slapd 2.2.15 (Oct  2 2004
08:39:25) $  
abuild@d117:/usr/src/packages/BUILD/openldap-2.2.15/servers/slapd
openldapslave slapd[22732]: bdb_initialize: Sleepycat Software: Berkeley DB
4.2.52: (October  5, 2004)
openldapslave slapd[22732]: bdb_db_init: Initializing bdb database
openldapslave slapd[22737]: slapd starting
openldapslave slapd[22737]: slapd shutdown: waiting for 1 threads to
terminate
openldapslave slapd[22737]: slapd stopped.



--Client slapd.conf--

include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/krb5-kdc.schema

pidfile         /var/run/slapd/slapd.pid
argsfile        /var/run/slapd/slapd.args

modulepath      /usr/lib/openldap/modules

# SSL/TLS configuration
#TLSCipherSuite HIGH:MEDIUM:+SSLv3:RSA
#TLSCACertificateFile /etc/openldap/cert/serverca_public.cert
#TLSCertificateFile /etc/openldap/cert/openldapslave.80prozent.net.si
gn
#TLSCertificateKeyFile /etc/openldap/cert/openldapslave.80prozent.net
.key

# ACLs
access to *
        by dn="cn=Replicator,ou=security,dc=80prozent,dc=net" write
        by * read

# SASL Konfiguration
#sasl-host      openldap.80prozent.net
#sasl-realm     80PROZENT.NET
#sasl-secprops  noanonymous   #,noplain,noactive
#sasl-regexp    uid=(.*),cn=80prozent.net,cn=gssapi,cn=auth
#               uid=$1,ou=it,dc=80prozent,dc=net

#security       ssf=56

#require bind

#disallow bind_simple
#disallow bind_anon
#disallow bind_krbv4
#disallow bind_anon_dn
#disallow bind_v2
#disallow bind_anon_dn
#disallow bind_anon_cred

#####################################################################
##
# bdb database definitions
 #
#####################################################################
##

database        bdb
checkpoint      1024    5
cachesize       10000
suffix          "dc=80prozent,dc=net"

rootdn         "cn=ldaproot,ou=security,dc=80prozent,dc=net"

directory       /var/lib/ldap

index           objectClass     eq
index           cn,uid,uidNumber        eq

syncrepl rid=123
        provider=ldap://openldap.80prozent.net:389
        type=refreshAndPersist
        interval=00:00:01:00
        searchbase="dc=80prozent,dc=net"
        scope=sub
        schemachecking=off
        updatedn="cn=Replicator,ou=security,dc=80prozent,dc=net"
        bindmethod=simple
        binddn="uid=admin,dc=80prozent,dc=net"
        credentials=secret

	

--Master slapd.conf--

include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/krb5-kdc.schema

pidfile         /var/run/slapd/slapd.pid
argsfile        /var/run/slapd/slapd.args

modulepath      /usr/lib/openldap/modules

# SSL/TLS configuration
TLSCipherSuite HIGH:MEDIUM:+SSLv3:RSA
TLSCACertificateFile /etc/openldap/cert/serverca_public.cert
TLSCertificateFile /etc/openldap/cert/openldap.80prozent.net.cert
TLSCertificateKeyFile /etc/openldap/cert/openldap.80prozent.net.key
TLSVerifyClient never

# SASL Configuration
sasl-host       openldap.80prozent.net
sasl-realm      80PROZENT.NET
#sasl-secprops  noanonymous,noplain,noactive
#sasl-regexp    uid=(.*),cn=80prozent.net,cn=gssapi,cn=auth
#               uid=$1,cn=gssapi,cn=auth

###security     ssf=56

###require bind

###disallow bind_simple
disallow bind_anon
#disallow bind_krbv4
#disallow bind_anon_dn
#disallow bind_v2
#disallow bind_anon_dn
#disallow bind_anon_cred

#######################################################################
# bdb database definitions #
#######################################################################

database        bdb
checkpoint      1024    5
cachesize       10000
suffix          "dc=80prozent,dc=net"

rootdn          "uid=admin,dc=80prozent,dc=net"
rootpw          {SSHA}aOvwuYA98jDqX+WzIRfPYHW39+a2H9eg #secret with
slappasswd

directory       /var/lib/ldap

index           objectClass     eq
index           cn,uid,uidNumber        eq
end

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail