From owner-freebsd-ports@FreeBSD.ORG Mon Apr 26 20:59:34 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92530106566C for ; Mon, 26 Apr 2010 20:59:34 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id 4B78B8FC1C for ; Mon, 26 Apr 2010 20:59:33 +0000 (UTC) Received: by qyk11 with SMTP id 11so15529983qyk.13 for ; Mon, 26 Apr 2010 13:59:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vWALbi7WCxEYLMiPuo8x0NRk8CCkFRXo7VkgYNARPMY=; b=KLks86rTp4f0JM0MFnDvKIM23VKTWs+rB3aI9GKux8NOi6vkNDCrRjVi8vqhhYgFIm F96i+R4UYfF1us53tnkxnsulMY3W4+Dj4z55Eg9o3T20/ASuSIT4hLNSkI3mGbpRcrTh IyDG10U+DqFu5Aukk2UggdcPqdDcaTt7Z3EUk= 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:content-transfer-encoding; b=VlTzKoRb7c81OUf8PBHq7KUlozL8PuZIbREF2hfJ1RTzXFmbQALRts3DBLAAURJfII xRSN8N9qmooXptI3T8uvqzjh5FfInc19YZ+L+yQZcuNw2213k08UlwXawhVBGBBMCjR2 bCU8mBu6avXLI9lQn90RqJiN2yFvOnT7wNIvY= MIME-Version: 1.0 Received: by 10.224.65.234 with SMTP id k42mr1401184qai.322.1272315565511; Mon, 26 Apr 2010 13:59:25 -0700 (PDT) Received: by 10.229.87.142 with HTTP; Mon, 26 Apr 2010 13:59:24 -0700 (PDT) In-Reply-To: <201004121336.17593.doconnor@gsoft.com.au> References: <201004121336.17593.doconnor@gsoft.com.au> Date: Tue, 27 Apr 2010 06:59:24 +1000 Message-ID: From: David N To: "Daniel O'Connor" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org Subject: Re: Samba 34 + LDAP = hang? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 20:59:34 -0000 On 12 April 2010 14:06, Daniel O'Connor wrote: > Hi, > I tried updating Samba to 3.4 (from 3.3) as libsmbclient uses it and > that pulls in talloc which conflicts with 3.3.. > > Unfortunately when I tried it, it hung when I tried to use the ldap > passdb backend. I could not really get any useful debugging out of it > :( > > The stack trace is junk (even after enabling max debug) and running > with.. > sudo /usr/local/sbin/smbd -d 10 -F -S > > Showed stuff but nothing related to LDAP (except mentioning the line in > the config) and it still hung after saying it was going to daemonise > itself. > > It hung not using any CPU but it hadn't yet opened any TCP listen > sockets - however it did have a socket to the LDAP server open. > > Does anyone actually use this combination on FreeBSD? > > I have had various annoying issues with LDAP (eg slapd crashing when > it's not shut down cleanly, various frustrations getting it setup etc) > but I haven't come across this bug before. > > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > =A0-- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > Hi, I know this is old, but I'm wondering if its working for you? I've tried updating one of our development servers to samba34 with LDAP but it doesn't work, retries connecting to the LDAP server multiple times, netstat shows it connections, but in the log files it complains about no connection or no passwords returned. Had to go back to Samba33 and all is working. Regards