From owner-freebsd-questions@FreeBSD.ORG Mon Jul 20 08:16:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE2131065727 for ; Mon, 20 Jul 2009 08:16:24 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 4113C8FC1A for ; Mon, 20 Jul 2009 08:16:23 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id n6K84pKB052167; Mon, 20 Jul 2009 10:04:51 +0200 (CEST) (envelope-from Johan@double-l.nl) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 20 Jul 2009 10:04:50 +0200 Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DEA71@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Samba PDC with LDAP backend Thread-Index: AcoI/MT1f3jmdqIcSqO0MkCbzMI9PwAEw4Ig References: <200907180207.n6I27ZDQ071155@banyan.cs.ait.ac.th><200907180225.n6I2PaES071268@banyan.cs.ait.ac.th><200907180311.n6I3B063071564@banyan.cs.ait.ac.th><200907180343.n6I3hrCR071833@banyan.cs.ait.ac.th><20090719112802.GA77843@ei.bzerk.org> From: "Johan Hendriks" To: "Ruel Luchavez" X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: RE: Samba PDC with LDAP backend X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2009 08:16:28 -0000 >> On Sat, Jul 18, 2009 at 12:53:40PM +0800, Ruel Luchavez typed: >> > On Sat, Jul 18, 2009 at 11:43 AM, Olivier Nicole >> wrote: >> > >> > > >> > > > Still it does not start the LDAP, hers my /etc/rc.conf: >> > > > >> > > > slapd_flags=3D'-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ >> > > ldaps:// >> > > > / ldap://127.0.0.1/"' >> >> You try to start slapd with ssl/tls support (ldaps), but I didn't see any >> TLS parameters in the slapd.conf file you posted. >> >> Ruben >> >> >Hey Ruben, >Is it necessary to have ssl/tls support? >My goal is to build a Samba PDC on FreeBSD with a ldap backend. This will >not authenticate ssh users just a plain samba server for our windows >clients. >More ideas are very WELCOME... >Thanks.....:-) >--=20 >Rhuel >FreeBSD user since 6.0 >Happy BSD use... >Country:Philippines >Zip Code:8000 You do not need to add ssl/tls it is some extra security. But First try to make sure the ldap server start. 192.168.5.0 is nota n ipadres but a network, i do not know fors ure but i thougt it need an ipadres like 192.168.5.1=20 But try this one First and look i fit starts. slapd_flags=3D'-h \"ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/ ldap://127.0.0.1/\"' It will listen on all your ip's available on your system. If it does still not start then look at the configuration of your slapd.conf file Regards, Johan Hendriks (Sylhouette) No virus found in this outgoing message. Checked by AVG - www.avg.com=20 Version: 8.5.392 / Virus Database: 270.13.20/2249 - Release Date: 07/19/09 17:59:00