From owner-freebsd-questions@FreeBSD.ORG Sat Jul 18 02:07: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 C46FE106564A for ; Sat, 18 Jul 2009 02:07: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 9E7B88FC16 for ; Sat, 18 Jul 2009 02:07: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 n6I27JrQ067917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 18 Jul 2009 09:07:19 +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 n6I27ZDQ071155; Sat, 18 Jul 2009 09:07:35 +0700 (ICT) (envelope-from on) Date: Sat, 18 Jul 2009 09:07:35 +0700 (ICT) Message-Id: <200907180207.n6I27ZDQ071155@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 09:29:20 +0800) References: 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:07:39 -0000 Hi, > >>when I look at the smblap_tools.pm at line 322 this is what it look likes > and sorry I cant understand the code: > > else { > $ldap_master = Net::LDAP->new( <--This is line 322 > "$config{masterLDAP}", > port => "$config{masterPort}", > version => 3, > timeout => 60, Are you sure about your configuration of smbldap? Are you sure ldap is running? Have you tried a manual access through ldapsearch(1)? Olivier