Search by "uid" attribute returns duplicate results

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

 



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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3312 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20051128/bebeb279/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux