Hi all. I think that i have 2 copies of openldap installed on my server... My conf files exist at the following locations: /etc/ldap.conf /etc/openldap/ldap.conf /usr/local/etc/openldap/ldap.conf When i do a /usr/lib/openldap/slapd -V it comes up with: abuild@delius:/usr/src/packages/BUILD/openldap-2.3.19/servers/slapd I can also do a /usr/local/libexec/slapd -V which comes up with: root@svcs01:/tmp/openldap-2.3.27/servers/slapd (which is the correct one)
Is it possible to remove one of the copies of openldap? preferrably 2.3.19... i am unsure of what files to delete. If necessary, i can delete all files, and all references, and configure openldap again. Advice is greatly appreciated.
Thanks and Kind Regards,
Ian Moroney Field Engineer
T: 020 8891 3010 M: 07791 965924 F: 020 8288 2591 www.techdivision.co.uk http://www.techdivision.co.uk/
TechDivision - Making IT Work
<quote who="Ian Moroney">
Hi all. I think that i have 2 copies of openldap installed on my server... My conf files exist at the following locations: /etc/ldap.conf /etc/openldap/ldap.conf /usr/local/etc/openldap/ldap.conf When i do a /usr/lib/openldap/slapd -V it comes up with: abuild@delius:/usr/src/packages/BUILD/openldap-2.3.19/servers/slapd I can also do a /usr/local/libexec/slapd -V which comes up with: root@svcs01:/tmp/openldap-2.3.27/servers/slapd (which is the correct one)
Is it possible to remove one of the copies of openldap? preferrably 2.3.19... i am unsure of what files to delete. If necessary, i can delete all files, and all references, and configure openldap again. Advice is greatly appreciated.
Hi Ian,
Looks like you do. What distro is this installed on?
If it's an RPM based one or deb, you can remove openldap and openldap-servers etc. via
apt-get remove openldap (or slapd I think on debian) rpm -qa | grep openldap
then
rpm -q openldap-blah
HTH.
openldap-software@openldap.org