Hello everybody,
I am trying to setup a replication using syncrepl.
Here's the part that I have in the consumer slapd:
syncrepl rid=123
provider=ldap://ldap.mydomain.com
type=refreshAndPersist
interval=00:00:01:00
searchbase="dc=mydomain,dc=com"
filter="(uid=testuser)"
scope=sub
schemachecking=off
updatedn="cn=Manager,dc=mydomain,dc=com"
bindmethod=simple
binddn="cn=Manager,dc=mydomain,dc=com"
credentials=secret
And here's what I have in the provider config:
sessionlog 123
This is what I get in the providers log:
=> access_allowed: search access to "cn=Test
User,ou=People,dc=mydomain,dc=com" "uid" requested
<= root access granted
<= test_filter 6
=> send_search_entry: conn 928 dn="cn=Test
User,ou=People,dc=mydomainr,dc=com"
=> access_allowed: read access to "cn=Test
User,ou=People,dc=mydomain,dc=com" "entry" requested
<= root access granted
=> access_allowed: read access to "cn=Test
User,ou=People,dc=mydomain,dc=com" "objectClass" requested
<= root access granted
=> access_allowed: read access to "cn=Test
User,ou=People,dc=mydomain,dc=com" "cn" requested
...
<= send_search_entry: conn 928 exit.
send_ldap_result: conn=928 op=1 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=2 tag=101 err=0
ber_flush: 14 bytes to sd 12
...
ber_get_next on fd 12 failed errno=0 (Success)
connection_read(12): input error=-2 id=929, closing.
connection_closing: readying conn=929 sd=12 for close
connection_close: deferring conn=929 sd=12
daemon: epoll: listen=7 active_threads=0 tvp=NULL
connection_resched: attempting closing conn=929 sd=12
daemon: epoll: listen=8 active_threads=0 tvp=NULL
connection_close: conn=929 sd=12
daemon: activity on 2 descriptors
daemon: removing 12
daemon: activity on:
It seems like the consumer is performing the search on the provider and
the specified filter finds the requested record (in this case
uid=testuser).
What is supposed to happen next? I am expecting that the found uid will be
added to the consumer but when I perform a search on the consumer
ldapsearch -x -b "dc=mydomain,dc=com" "(uid=testuser)"
the record is not there. Also notice the error that I get in the providers
log file above.
Please advice!
---
You are currently subscribed to [EMAIL PROTECTED] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the
SUBJECT of the message.