Re: [389-users] LDAP Secondary not returning the same as primary with getent passwd

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

 



Ldapsearch returns the same on each server.

A couple of follow on questions...
  Are index's replicated or created on each server?
  Does getent passwd work off of an index?

Dan



On 09/08/2011 02:04 PM, Aaron Hagopian wrote:
If you do an ldapsearch does it show the same?  My first thought is that replication doesn't seem to be working properly.



2011/9/6 Dan H. Eicher <dhe@xxxxxxxxxxxx>

Synopsis: getent passwd {user} works on secondary and primary server, getent passwd fails (does not return all users) on secondary, works correctly on primary.

getent passwd {username} - works when pointing to both primary and secondary.
getent passwd | grep {username} only works if pointed to primary.


On Primary:
% getent passwd | wc
  11482   29170  937571

On Secondary:
% getent passwd | wc
   2039    4994  165383

ldapsearch by uid works in both cases.

The only change I make is changing ldap.conf from ldap01 (primary) to ldap02 (secondary).

Any tips appreciated.
Dan




--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

-- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

[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