Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:
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.