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

Re: ldapsearch question



At 08:52 AM 2/8/99 -0800, you wrote:
>I agree and a bigger system problem was my first thought as well. 
>However, I can ping localhost, and I can also telnet the port that I
>start slapd on.  So, I started running some testing and found some
>interesting things. I used ldif2ldbm to convert 'test.ldif', which is a
>test ldif that came with the source.  I started up slapd with the
>'slapd-master.conf' which also came with the source.  Same problem.  So,
>I then copied over the entire test directory and ran their
>'test003-search' script.  Worked just fine with no errors.  So, I
>started digging deeper.  I haven't got the answer yet, but I think it's
>got something to do with the environment which gets set up by
>'defines.sh' (part of openLDAP's testing directory).  That sh script
>sets up a bunch of global variables.  Anyway, thanks for the help.  If
>you have any more ideas, please let me know.

The test scripts use "-h localhost" to override the ldap.conf(5) defaults.
You likely just need to edit your ldap.conf(5) file.

Kurt