Re: [389-users] Sync AD with 389-DS Unable to parse response

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/19/2011 08:49 AM, remy d1 wrote:
Hi,

I have some problems to synchronize 389-DS with AD


I have followed this HowTo : http://www.linuxmail.info/389-directory-active-directory-ssl-synch/
I didn't read this, but I would suggest starting with this instead:
http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html-single/Administration_Guide/index.html#Windows_Sync-About_Windows_Sync

I have successfully imported cert files in both AD and 389-DS and can communicate in SSL mode (ldaps). I can login from my 389-DS to my AD server with 389-console or Apache Directory Studio, but synchronize does not work.

Here are the error logs from 389-DS :
[19/Jan/2011:14:37:07 +0100] NSMMReplicationPlugin - agmt="cn=Synchro ldap" (WINSERVER:636): Unable to parse the response to the startReplication extended operation. Replication is aborting.
[19/Jan/2011:14:37:07 +0100] NSMMReplicationPlugin - agmt="cn=Synchro ldap" (WINSERVER:636): Incremental update failed and requires administrator action
Definitely some sort of configuration problem. 389 is attempting to use the 389 MMR protocol instead of the winsync protocol.


If I try an ldapsearch :
/usr/lib64/mozldap/ldapsearch -ZZ -b "dc=mydomain,dc=com" -h WINSERVER -p 636 -R -D "CN=synchro ldap,CN=Users,DC=mydomain,DC=com" -w - "objectclass=*"
Enter bind password:
ldap_start_tls_s failed: (Can't contact LDAP server)
ldap_simple_bind: Can't contact LDAP server
ÂÂÂ TLS/SSL error -5961 (TCP connection reset by peer.)
1) either use -Z and -p 636, or -ZZ and -p 389 - you cannot use both -ZZ and -p 636 (i.e. you cannot use startTLS on the LDAPS port since it is already encrypted)
2) You have to specify -P /etc/dirsrv/slapd-YOURINSTANCE/cert8.db on the ldapsearch cmd line


I have open the ports 88, 389 and 636. Should I open all this ports ? :
http://technet.microsoft.com/fr-fr/library/bb967329.aspx


Any idea ?

-Regards
-- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux