Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 1999 19:36:51 -0000
From:      "Greg Quinlan" <greg@swlct.sthames.nhs.uk>
To:        <freebsd-stable@freebsd.org>
Subject:   Slapd (LDAP) Problems
Message-ID:  <002801bf2fa0$c44cbee0$5214010a@swlct.sthames.nhs.uk>

next in thread | raw e-mail | index | archive | help

HELP!!!!

I am trying desperately to get Ldap to work... (/usr/ports/net/ldap)

I have set up a database with the tools for "slapd".
# dif2ldbm -i myfile

Where "myfile" contains simple set-up info (see below -: ldbmcat)
... and have verified that there are entries in the LDAP database but when I
use a search, i.e..

# ldapsearch -v "cn=Greg Quinlan"

The search returns:

ldap_open( localhost, 389 )
filter pattern: cn=Greg Quinlan
returning: ALL
filter is: (cn=Greg Quinlan)
0 matches

When I look at the database entries I can see the entries.

# ldbmcat /usr/tmp/id2entry.dbb
1
dn: o=South West London Community NHS Trust, c=UK
o: South West London Community NHS Trust
objectclass: organization


2
dn: cn=Greg Quinlan, o=South West London Community NHS Trust, c=UK
cn: Greg Quinlan
sn: Quinlan
mail: Greg.Quinlan@swlct.sthames.nhs.uk
objectclass: person

WHAT AM I DOING WRONG?


Thanks

Greg





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002801bf2fa0$c44cbee0$5214010a>