From owner-freebsd-questions@FreeBSD.ORG Sat Jul 18 02:17:57 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 0AE01106566C for ; Sat, 18 Jul 2009 02:17:57 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id B2ED78FC0C for ; Sat, 18 Jul 2009 02:17:56 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: by an-out-0708.google.com with SMTP id d14so591583and.13 for ; Fri, 17 Jul 2009 19:17:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=UO4j67s0e67qY1w7xSPv+3781hJ4I/6M4WG0BGftJcU=; b=RvK2a3FEcB2CMuxvIzBo+Ag4dbh16AWOkFgYbQ3hca4vjzAPvL3xkxW2cg1WZNu46o +auHszP7THx3V9EseQ4AUvRS3A9ccIjHfxtxugS02PVAZGcGUlkFRxny7K4wpO0HNIAt fPcSGG8w5HtcY66u9qeEZidqV5NheoWwXX/WQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Ah6nVgkUZxzi2g3QF0E+BiM2abLXqzEfmFOC3CTMcBKJDscFnvCL2Chol2lMsF9UU1 fArh2/8ndIQUccGVKOHqfpjAxD80wJ/mgicf8ztsb4V1Mi7EpSVFAC6PIgNTkH0nJxKF jDWG2MFGYNX2NJSsnFSbT1ctHEjt1e47xARCo= MIME-Version: 1.0 Received: by 10.100.43.10 with SMTP id q10mr2418999anq.125.1247883475822; Fri, 17 Jul 2009 19:17:55 -0700 (PDT) In-Reply-To: <200907180207.n6I27ZDQ071155@banyan.cs.ait.ac.th> References: <200907180207.n6I27ZDQ071155@banyan.cs.ait.ac.th> Date: Sat, 18 Jul 2009 10:17:55 +0800 Message-ID: From: Ruel Luchavez To: Olivier Nicole Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:17:57 -0000 On Sat, Jul 18, 2009 at 10:07 AM, Olivier Nicole wrote: > 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 > Hello, Im sure with my smblap..why?Is there something wrong with my config? And yes ldap is running #ps -aux | grep slap ldap 1522 0.0 6.6 341992 7756 ?? Is 10:15AM 0:00.08 /usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ldap:// 0.0.0.0/ldap://192.168.5.0/ldap://127.0 root 1678 0.0 0.2 388 268 p0 R+ 10:20AM 0:00.00 grep slap Its running right? I also tried the ldapsearch and it says it cant contact the ldap server #ldapsearch ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1) any more ideas? thanks for your reply -- Ruel Luchavez FreeBSD user since 6.0 Happy BSD use... Country:Philippines Zip Code:8000