From owner-freebsd-questions@FreeBSD.ORG Sat Jul 18 02:25:38 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 941CB106564A for ; Sat, 18 Jul 2009 02:25:38 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 127AE8FC1E for ; Sat, 18 Jul 2009 02:25:37 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n6I2PKCc068596 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 18 Jul 2009 09:25:20 +0700 (ICT) (envelope-from on@cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id n6I2PaES071268; Sat, 18 Jul 2009 09:25:36 +0700 (ICT) (envelope-from on) Date: Sat, 18 Jul 2009 09:25:36 +0700 (ICT) Message-Id: <200907180225.n6I2PaES071268@banyan.cs.ait.ac.th> From: Olivier Nicole To: ruel.freebsd@gmail.com In-reply-to: (message from Ruel Luchavez on Sat, 18 Jul 2009 10:17:55 +0800) References: <200907180207.n6I27ZDQ071155@banyan.cs.ait.ac.th> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) 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: Sat, 18 Jul 2009 02:25:38 -0000 Ruel, > And yes ldap is running > #ps -aux | grep slap That the process slapd is running does not mean you can access it. That: > /usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ldap:// > 0.0.0.0/ldap://192.168.5.0/ldap://127.0 looks strange to me, I am used to someting like: /usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldaps://192.41.170.6/ ldap://192.41.170.6/ -u ldap -g ldap with space between each URL on the command line. You should first assert that LDAP is running the way you want, if it is, you should be able to find a set of options to use with ldapsearch to be able to access your LDAP server. Basically, these options will have to be transposed into smbldap configuration. Good luck, Olivier