#1
  1. Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    449
    Rep Power
    0

    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?
  2. #2
  3. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
    How did you install LDAP? What are you trying to install? OpenLDAP Iplanet? Netscape? Novell?
  4. #3
  5. Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    449
    Rep Power
    0
    I have openldap-2.0.27-8
    Installed when installed OS
  6. #4
  7. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
    Perhaps try upgrading to version 2.1.22 it's the newest stable version 2003/07/09
    http://www.openldap.org/software/download/

    When you install openldap it should add ldapsearch ldapadd etc... if it doesn't then something is wrong
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    2
    Rep Power
    0
    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.
    Good luck
  10. #6
  11. Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    449
    Rep Power
    0
    irish.. thank you, I have done yet but very helpful. Will let you know.

IMN logo majestic logo threadwatch logo seochat tools logo