https://bugs.openldap.org/show_bug.cgi?id=9080

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from [email protected] ---
Created attachment 730
  --> https://bugs.openldap.org/attachment.cgi?id=730&action=edit
openldap clients/tools honor config files ldap.conf ldaprc URI setting

It seems all the client tools needlessly overwrite the URI setting with the
default ldap://localhost, which gets used anyhow if there is no URI at all
given in config files or on commandline.

The attached patch is a first attempt, it has had little testing other than
putting a DNS SRV URI in /etc/ldap/ldap.conf, but it should help move the
conversation along.

It seemed to me that 'ldapsearch (uid=me) homeDirectory' should just work vs
Samba AD DC's ldap, and now it does for me.

I am happy to contribute this under whatever opensource license OpenLDAP uses.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to