https://bugs.openldap.org/show_bug.cgi?id=9080
jerj@coplanar.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jerj@coplanar.net
--- Comment #2 from jerj@coplanar.net --- 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.