Issue #408 has been updated by Nick Milas.
OK, I see that ldap* executables of standard openldap-clients package are in /usr/bin/. So, if openldap-clients is installed in a system, then /usr/local/openldap/bin/ldapsearch will never be used, because /usr/bin/ will always be preferred. Is there a way to define /usr/local/openldap/bin/ldap* as the default tools, overriding /usr/bin/ldap* whether they exist or not (taking into account that /usr/bin cannot be easily removed from the $PATH) or the only option is to uninstall openldap-clients RPM? ---------------------------------------- Bug #408: Which ldap client is in use? http://tools.lsc-project.org/issues/408 Author: Nick Milas Status: New Priority: Normal Assigned to: Category: Target version: I noticed that in some of my systems where LTB Openldap is installed, the client path is different than in others. For example: System 1: <pre> # rpm -qa | grep openldap symas-openldap-silver-2.4.25-110503 openldap-devel-2.3.43-12.el5_7.10 openldap-ltb-debuginfo-2.4.30b3-2 openldap-ltb-contrib-overlays-2.4.30b3-2 openldap-ltb-check-password-1.1-5.el5 symas-openldap-silver-client-2.4.25-110503 openldap-2.3.43-12.el5_7.10 openldap-ltb-2.4.30b3-2 # # echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/berkeleydb/bin:/usr/local/openldap/bin:/usr/local/openldap/sbin:/root/bin # # which ldapsearch /usr/local/openldap/bin/ldapsearch </pre> System 2: <pre> # rpm -qa | grep openldap openldap-2.3.43-12.el5_7.10 openldap-clients-2.3.43-12.el5_7.10 openldap-ltb-2.4.30b3-2 openldap-ltb-debuginfo-2.4.30b3-2 # # echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/berkeleydb/bin:/usr/local/openldap/bin:/usr/local/openldap/sbin:/root/bin # # which ldapsearch /usr/bin/ldapsearch </pre> Can you please help me understand why there is this difference, and how we can correct things? I would expect all systems with ltb installed to use /usr/local/openldap/bin/ldapsearch. Thanks, Nick -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
_______________________________________________ ltb-dev mailing list [email protected] http://lists.ltb-project.org/listinfo/ltb-dev
