--On Saturday, September 07, 2002 9:40 PM -0700 Howard Chu <hyc@symas.com> wrote:
Okay, then I'm completely lost. ldap.conf exists on the machine which it is querying (ldap3). Running a query on ldap3 using the same conf file works fine. So why doesn't it work when I'm running the query from a different machine if it doesn't care where ldap.conf is located?
The ldap.conf file must be readable by the client. Unless you've exported this file by NFS or some other remote filesystem, how do you expect your client on a remote machine to be able to read the file that resides on your server?
Okie,
After re-reading Kurts note, I configured ldap.conf on the machine ldapsearch is running from. Now it all works fine. So, the long and short answer is, wherever I run ldapsearch from, it needs a basic ldap.conf file to read. Thank you. And, actually, we do use AFS, so I can probably hack ldapsearch to read an ldap.conf for us from there. Thanks for the help. :)
and
--Quanah
-- Quanah Gibson-Mount Senior Systems Administrator ITSS/TSS/Computing Systems Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
Attachment:
pgp4sE97bW0UG.pgp
Description: PGP signature