From owner-freebsd-stable Mon Nov 15 12:16:29 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 91BBD150C8 for ; Mon, 15 Nov 1999 12:16:21 -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 UAA00776; Mon, 15 Nov 1999 20:15:30 GMT Message-ID: <001901bf2fa7$238313e0$5214010a@swlct.sthames.nhs.uk> From: "Greg Quinlan" To: "Alan Edmonds" Cc: References: <002801bf2fa0$c44cbee0$5214010a@plano.sterling.com> <38306506.EEEA7004@plano.sterling.com> Subject: Re: Slapd (LDAP) Problems Date: Mon, 15 Nov 1999 20:22:28 -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 Thanks Alan, but it did not work... Eventually I want to be able to query the database from Muckrow-softs Outlook Express.... but I have got to get something going first.... Greg ----- Original Message ----- From: Alan Edmonds To: Greg Quinlan Sent: Monday, November 15, 1999 7:54 PM Subject: Re: Slapd (LDAP) Problems > I've always had to specify the search root with ldapsearch. ie. > > ldapsearch -b'o=South West London Community NHS Trust, c=UK' -v "cn=Greg Quinlan" > > At least that works for me. > > Greg Quinlan wrote: > > > > 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 > > -- > Alan Edmonds, KB5ZUY Sterling Software > M/S 132 > Phone: +1-972-801-6485 5800 Tennyson Pkwy. > Email: alan.edmonds@sterling.com Plano, TX, USA 75024 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message