August 5th, 2003, 03:41 PM
What am i doing wrong ?
I have installed RH9 am\nd am trying to work out ldap. Trouble is, no help giudes or tutorials give me any help that seems to relate to the *version* i have. I have no ldapsearch, ldapadd and numerous other files.
Could anyone point me in the right dorection please?
August 5th, 2003, 05:46 PM
How did you install LDAP? What are you trying to install? OpenLDAP Iplanet? Netscape? Novell?
August 5th, 2003, 05:54 PM
I have openldap-2.0.27-8
Installed when installed OS
August 5th, 2003, 06:05 PM
Perhaps try upgrading to version 2.1.22 it's the newest stable version 2003/07/09
When you install openldap it should add ldapsearch ldapadd etc... if it doesn't then something is wrong
September 5th, 2003, 09:47 AM
Yep! its tough!
To begin, you need to make sure you have all the necessary files. When RH9 puts OpenLDAP on your system during the initial install, it cheats. Most of the important files are not installed at all.
So get the rpms from rhn.redhat.com for OpenLdap, OpenLdap-dev, OpenLdap Client, OpenLdap server. You will also need some Kerberos rpms (especially Krb5-libs) but since there are dependency issues get all of them. Finally, you will possibly need the Pam rpms too. I found installing the rpms is tricky because of the dependency issues. The sequence that seems to work is: First open the OpenLdap rpm, then the dev, then the client, then the server. Then it can get really messy so for all the others try rpm -Fvh *.rpm and let the rpm mystery machine try to sort it all out in one big pudding mix.
When everything settles down you will find you have the files you need in the right places. You will be on the start line. Be aware though that the rpm install puts files in different places to the tarball make install. So when reading documents make sure the writer is coming off the same branch as you are.
There are 2 tutorials at www.securityfocus.com that I found helpful. They are based on RH7.1 but they will get you some of the way.
September 6th, 2003, 11:58 PM
irish.. thank you, I have done yet but very helpful. Will let you know.