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

Variations among ldap clients?



I have inherited the administration task for our intranet server.  One of the features currently broken on it is the LDAP search functionality.  LDAP queries are made to our mysql database.

Now the system works in a standalone LDAP browser that I'm using.  All I specified was the hostname and a BaseDN of "O=EPALS,C=CA"

It also works using Netscape 7.0's address autocomplete feature, but not when I try to find an address using the search feature??

I haven't been able to get it to work in Outlook or Outlook Express.

I suspect I have an incorect BaseDN, or perhaps some other configuration setting which is incorrect, which somehow my LDAP browser works around?

The LDAP browser I'm using (Softerra's freeware browser) says the URL it's using is the following:  ldap://epalscorp.com:389/O=EPALS,C=CA??base?objectclass=*

People in the office insist that this used to work.  I'm stumped as to what's changed in the config to break their setups?  Is there a way I can configure the server so that they will not need to specify any BaseDN or search parameters?

Oh, and when I perform a search with any of the non-functional LDAP clients, the logfile for the ldapsearch.pl gets opened (the date stamp changes) but it's not modified, as if there wasn't a valid query performed.

Thanks in advance!

Greg Marshall

(the config files follow)

---------------------------------
[root@epalscorp]# less /etc/openldap/ldap.conf
#
# LDAP Defaults
#

# See ldap.conf(5) for details
# This file should be world readable.

HOST    localhost

BASE    O=EPALS,C=CA
PORT    389


---------------------------------------------------------

[root@epalscorp]# less /etc/openldap/slapd.conf
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /etc/openldap/slapd.at.conf
include         /etc/openldap/slapd.oc.conf
schemacheck     off

pidfile         /var/run/slapd.pid
argsfile        /var/run/slapd.args

#######################################################################
# ldbm database definitions
#######################################################################

database        shell
suffix          "o=epals,c=ca"
search          /usr/local/bin/ldapsearch.pl
directory       /usr/tmp
rootdn          "cn=Manager, dc=corp.epals, dc=com"
rootpw          XXXXXXXX

----------------------------------------------

[root@epalscorp]# less /usr/local/bin/ldapsearch.pl
#!/usr/bin/perl -w
# ldapsearch.pl October 29, 2000
# created to allow ldap to perform searches from mysql instead of ldap's internal
# database
# slapd.conf should be modified with the following:
# database shell
# search /path/to/this/script
#
use DBI;
use strict;
##################
my $server="epalscorp.com";
my $ld_user="xxxxxxxx";
my $ld_pass="xxxxxxxx";
##################
-<snip>-

Greg Marshall
System Administrator
mailto:gmarshall@epalscorp.com

ePALS Classroom Exchange
Ph: 613.562.9847 x126
Fax: 613.562.4768
http://www.epals.com/
The world's largest online classroom community -
connecting more than 4.5 million students and educators in 191 countries!