Referrals break everything ...

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

 



Two things to check:

1.  Make sure nss_ldap is configured to follow referrals.  Not sure if 
you're using Sun's or PADL's (Linux) nss_ldap, but each have an option 
for this.

Sun (in /var/ldap/ldap_client_file):
NS_LDAP_SEARCH_REF= TRUE

PADL (usually in /etc/ldap.conf):
referrals yes


2.  Make sure that the bind DN you're using to bind to the first 
directory server also exists on the second (referral target) directory 
server, and has the same password.


There may be something else going on, but check these two first.

Philip Kime wrote:
> I am running the latest Fedora-DS and trying to use nss_ldap. I have 
> to migrate an older LDAP server onto the Fedora-DS but keep 
> temporarily the old tree structure for all current LDAP clients. So I 
> was goint to leave the old search base in /etc/ldap.conf on the client 
> and just re-direct queries to the new location (on the same server). A 
> job for referrals, I thought. I'll just put a stub root dc on the new 
> server and make it point to the new location, like this:
>  
> dc=a,dc=y
>  
> a referral to the new
>  
> dc=a,dc=b
>  
> I set this up, ldapsearch shows that it's getting the right referral 
> (though I can't seem to get ldapsearch follow the the referral?)
>  
> However, if I try to do anything involving nss_ldap (which otherwise 
> works fine), I get this, for example, in syslog:
>  
> getent: nss_ldap: could not search LDAP server - Referral
>  
> Does nss_ldap not follow referalls? That would make it rather useless 
> .... Is this a Fedora-DS problem?
>  
> --
> Philip Kime
> ------------------------------------------------------------------------
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-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