From owner-freebsd-stable Mon Nov 15 11:31: 7 1999 Delivered-To: freebsd-stable@freebsd.org Received: from amanda.swlct.sthames.nhs.uk (hide14.nhs.uk [194.6.81.14]) by hub.freebsd.org (Postfix) with ESMTP id 3B1B914BDA for ; Mon, 15 Nov 1999 11:30:55 -0800 (PST) (envelope-from greg@swlct.sthames.nhs.uk) Received: from greg.swlct.sthames.nhs.uk (qmh-00553.qmpgmc.ac.uk [10.1.20.82]) by amanda.swlct.sthames.nhs.uk (8.9.3/8.9.3) with SMTP id TAA57992 for ; Mon, 15 Nov 1999 19:30:09 GMT Message-ID: <002801bf2fa0$c44cbee0$5214010a@swlct.sthames.nhs.uk> From: "Greg Quinlan" To: Subject: Slapd (LDAP) Problems Date: Mon, 15 Nov 1999 19:36:51 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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