logo       

Re: Search by "uid" attribute returns duplicate results: msg#00214

Subject: Re: Search by "uid" attribute returns duplicate results
This is a cryptographically signed message in MIME format.
Kevin M. Myer wrote:

Hello,

I migrated a Netscape Directory Server 4.16 installation to Fedora Directory Server over the weekend. It went very smoothly, but I now have a puzzling problem. I have two servers setup in multimaster replication mode. On the one server, for one subtree only, if I search via the 'uid' attribute, each search returns two identical entries. On the other server, if I search via the 'uid' attribute, I get one entry. If I search on anything but the 'uid' attribute (say, for instance 'mail'), I get one result from both servers.

The server that returns duplicate results for the 'uid' searches was running in a test mode prior to my migration. However, I wiped the database/subtree that had our organization accounts located in it prior to migrating. My initial suspicion is that I have a messed up index somewhere but I don't see how I would ever have been able to import duplicate sets of entries anyway, since we are using 'uid' as our RDN value.

Sounds like a messed up index i.e. when you wiped the database/subtree, it didn't wipe the uid.db4 index file. However, if you initialized the database again by importing an LDIF file (e.g. by ldif2db, not ldapmodify -a), it should have wiped out the old index as well.

Further, if I export the data for that subtree, there are only one set of entries for each account.

Right, because there is only 1 real entry, it's just that there are two different uid values in the index pointing to your 1 real entry.


Thoughts on what might be occuring?

Kevin

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe