[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openldap woes - Redhat 8.



>I have a server at home (all stock 8.0 - full install), which I set up a
>quick and dirty ldap server on, and everything worked well!  Very simple
>setup - I just used localhost, no security whatsoever (I'm firewalled
>and nat'd and stuff, and localhost's security is otherwise tight).  Just
>wanted to see if it worked, and it did!  Worked like a charm!
>I came to work, logged into another 8.0 box, downloaded the redhat
>openldap rpmz that were distributed with 8.0 and installed them, copied
>over my config files from home, made sure everything looked the same
>everywhere, and fired everything up.  An ldapsearch says 'ldap_bind:
>can't contact LDAP server'.  
>I can't ldapadd, either, obviously (but I did it just to check).
>I opened a window to my home machine and one on my local machine and the
>only difference I could see was that /var/lib/ldap at home had stuff in
>it, and the one here at work doesn't.  I'm guessing that's because I
>actually did a successful 'ldapadd' at home, so maybe openldap doesn't
>create stuff until there's stuff to add to the directory?  

You didn't use ldapadd to load your data onto your server at home, you 
used slapadd, the utility to initially create the Dit.