Bug 701552

Summary: Group sync hangs Windows initial Sync
Product: Red Hat Enterprise Linux 6 Reporter: RHEL Program Management <pm-rhel>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.1CC: amsharma, ckannan, diego, dpal, jgalipea, jwest, kevinu, pm-eus, rmeggins, shaines, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ds-replication-1.2.8.3-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 14:41:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 698368    
Bug Blocks:    

Description RHEL Program Management 2011-05-03 08:27:02 UTC
This bug has been copied from bug #698368 and has been proposed
to be backported to 6.1 z-stream (EUS).

Comment 5 Amita Sharma 2011-05-04 06:33:19 UTC
Steps followed to test :

1. One group was already at DS and AD, rhgroup1.
2. Added new group at DS by ldap add :

ldapadd -D "cn=Directory Manager" -w Secret123 -h localhost -p 389 << EOF
dn: cn=rhgroup2,ou=groups,ou=unix,dc=corp,dc=example,dc=com
objectClass: top
objectClass: groupofuniquenames
objectClass: ntGroup
ntGroupDeleteGroup: true
cn: rhgroup2
ntUserDomainId: rhgroup2
ntGroupType: -2147483646
ntUniqueId: 2

3. Initiated full re-sync from DS console.

4. Got the operation error.

5. vim /var/log/dirsrv/slapd-xyz/errors
[04/May/2011:11:07:05 +051800] NSMMReplicationPlugin - Beginning total update of replica "agmt="cn=winsync" (ad1:389)".
[04/May/2011:11:07:05 +051800] NSMMReplicationPlugin - Finished total update of replica "agmt="cn=winsync" (ad1:389)". Sent 5 entries.
[04/May/2011:11:08:18 +051800] NSMMReplicationPlugin - Beginning total update of replica "agmt="cn=winsync" (ad1:389)".
[04/May/2011:11:08:18 +051800] NSMMReplicationPlugin - Finished total update of replica "agmt="cn=winsync" (ad1:389)". Sent 5 entries.
[04/May/2011:11:13:42 +051800] NSMMReplicationPlugin - process_replay_rename: newparent is empty
[04/May/2011:11:14:15 +051800] NSMMReplicationPlugin - Could not retrieve entry from Windows using search base [<GUID=e0fe9fb89cc40b4899694db94b6e59c9>] scope [0] filter [(objectclass=*)]: error 32:No such object
[04/May/2011:11:14:15 +051800] NSMMReplicationPlugin - Could not retrieve entry from Windows using search base [<GUID=e0fe9fb89cc40b4899694db94b6e59c9>] scope [0] filter [(objectclass=*)]: error 32:No such object
[04/May/2011:11:15:46 +051800] NSMMReplicationPlugin - agmt="cn=winsync" (ad1:389): Replication bind with SIMPLE auth resumed
[04/May/2011:11:15:46 +051800] NSMMReplicationPlugin - Could not retrieve entry from Windows using search base [cn=rhgroup3,ou=groups,ou=unix,dc=corp,dc=example,dc=com] scope [0] filter [(objectclass=*)]: error 32:No such object
[04/May/2011:11:20:33 +051800] NSMMReplicationPlugin - agmt="cn=winsync" (ad1:389): Replication bind with SIMPLE auth resumed
[04/May/2011:11:20:33 +051800] NSMMReplicationPlugin - Could not retrieve entry from Windows using search base [cn=rhgroup3,cn=rhgroup3,ou=groups,ou=unix,dc=corp,dc=example,dc=com] scope [0] filter [(objectclass=*)]: error 32:No such object
[04/May/2011:11:20:56 +051800] NSMMReplicationPlugin - Could not retrieve entry from Windows using search base [<GUID=2>] scope [0] filter [(objectclass=*)]: error 34:Invalid DN syntax
[04/May/2011:11:20:56 +051800] NSMMReplicationPlugin - Could not retrieve entry from Windows using search base [cn=rhgroup2,ou=groups,ou=unix,dc=corp,dc=example,dc=com] scope [0] filter [(objectclass=*)]: error 32:No such object
[04/May/2011:11:22:43 +051800] NSMMReplicationPlugin - agmt="cn=winsync" (ad1:389): Replication bind with SIMPLE auth resumed
[04/May/2011:11:22:43 +051800] NSMMReplicationPlugin - Beginning total update of replica "agmt="cn=winsync" (ad1:389)".

6. Also the new group got replicated to AD.

7. If I am creating new Group at AD, it is getting replicated to DS without any error.

Comment 6 Amita Sharma 2011-05-04 11:05:24 UTC
Upgraded the build from brew and tested.
Now working fine, marking as VERIFIED.

Comment 10 errata-xmlrpc 2011-05-19 14:41:33 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0820.html

Comment 11 Chandrasekar Kannan 2011-09-16 21:33:05 UTC
ds-replication is no longer a component of rhel. folding back to 389-ds-base.