Bug 1012942 - RUV tombstone search with scope "one" doesn`t work
Summary: RUV tombstone search with scope "one" doesn`t work
Keywords:
Status: CLOSED DUPLICATE of bug 947583
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: 389-ds-base
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rich Megginson
QA Contact: Sankar Ramalingam
URL:
Whiteboard:
Depends On:
Blocks: 1013063
TreeView+ depends on / blocked
 
Reported: 2013-09-27 12:27 UTC by Ján Rusnačko
Modified: 2013-09-27 18:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1013063 (view as bug list)
Environment:
Last Closed: 2013-09-27 18:51:18 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ján Rusnačko 2013-09-27 12:27:30 UTC
Description of problem:
Replication monitor searches for RUV tombstone entries to get values such as maxCSN. These searches fail to return any entries and replication monitor generates empty report.

When line 368 of repl-monitor.pl 

    $ruv = $conn->search($replicaroot, "one",
         "(&(nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff)(objectClass=nsTombstone))",
	 0, qw(nsds50ruv nsruvReplicaLastModified));

is changed to 
 
    $ruv = $conn->search($replicaroot, "sub",
         "(&(nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff)(objectClass=nsTombstone))",
	 0, qw(nsds50ruv nsruvReplicaLastModified));

replication monitor generates full report. Indeed search 

[root@hp-dl380pgen8-02-vm-1 BE_0]# ldapsearch ... -b "o=my_suffix.com" "(&(nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff)(objectClass=nsTombstone))" -s one

returns no entries, while 

[root@hp-dl380pgen8-02-vm-1 BE_0]# ldapsearch ... -b "o=my_suffix.com" "(&(nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff)(objectClass=nsTombstone))" -s sub

returns tombstone entries with RUV information.

Version-Release number of selected component (if applicable):
389-ds-base-1.2.11.15-24.el6.x86_64

Additional info:
Possibly related to https://bugzilla.redhat.com/show_bug.cgi?id=788731 .

Comment 2 Noriko Hosoi 2013-09-27 17:13:41 UTC
Upstream ticket:
https://fedorahosted.org/389/ticket/47534

Comment 3 Nathan Kinder 2013-09-27 18:51:18 UTC
This was introduced by the fix for bug 947583.  I've reopened that bug, and will close this as a duplicate.

*** This bug has been marked as a duplicate of bug 947583 ***


Note You need to log in before you can comment on or make changes to this bug.