From owner-freebsd-ports@FreeBSD.ORG Thu Apr 12 21:09:28 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5FD0106564A for ; Thu, 12 Apr 2012 21:09:28 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8E5EC8FC14 for ; Thu, 12 Apr 2012 21:09:28 +0000 (UTC) Received: by vcmm1 with SMTP id m1so2318755vcm.13 for ; Thu, 12 Apr 2012 14:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=P6lcANy+UZ59mE4liLvV6A/AWepIyIDsEX79KhuPmeI=; b=vg2W9rfig+P2a9V82iUsWG/ZKtXw9DlLhrdspa3b+eaIDEypZTHC/04/vYfJsRLlDc CaHr6jkBQ7NiU2WnqZRcgh+s9d7FRKFtYPPYSNKp3gUwUrt7uTZ0Z02u1y3eNZt/H8KA ysoZCpUhFz1z32NZgwjsu3JwdcMhogR6+nmzfSskqONNFYA6T60voqW8S7XZ9JCfL7ZT Y7VILFV14or69qo43Ucf4PW6rqxVGbSEQum2D+MXdNWQ5Uwjes9j3vkO6EXUiDJH7ySn gtBamzfkpOdLDDhJWWGSrLbkoGsTT7IEdj3dRZLxgyzV/z6KdaoBDLQ1QEylVwh+YAAq AGNg== MIME-Version: 1.0 Received: by 10.52.24.40 with SMTP id r8mr1613953vdf.108.1334264967706; Thu, 12 Apr 2012 14:09:27 -0700 (PDT) Received: by 10.52.38.1 with HTTP; Thu, 12 Apr 2012 14:09:27 -0700 (PDT) In-Reply-To: <20120412161517.7531647f@scorpio> References: <20120412161517.7531647f@scorpio> Date: Thu, 12 Apr 2012 23:09:27 +0200 Message-ID: From: Torfinn Ingolfsen To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: net/samba35 "needs" to have winbindd_enable set to yes - this can't be right 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: Thu, 12 Apr 2012 21:09:28 -0000 On Thu, Apr 12, 2012 at 10:15 PM, Jerry wrote: > On Thu, 12 Apr 2012 20:28:06 +0200 > Torfinn Ingolfsen articulated: > >> After I upgraded net/samba35 to version 3.5.14, I noticed this: >> root@kg-quiet# service samba status >> Cannot 'status' samba. Set winbindd_enable to YES in /etc/rc.conf or >> use 'onestatus' instead of 'status'. >> root@kg-quiet# service samba start >> Cannot 'start' samba. Set winbindd_enable to YES in /etc/rc.conf or >> use 'onestart' instead of 'start'. >> >> What? Since when? >> Ok, let's try to explicit set winbindd_enable to NO then: >> root@kg-quiet# grep winbind /etc/rc.conf >> winbindd_enable=3D"NO" >> >> root@kg-quiet# service samba status >> Cannot 'status' samba. Set winbindd_enable to YES in /etc/rc.conf or >> use 'onestatus' instead of 'status'. >> root@kg-quiet# service samba start >> Cannot 'start' samba. Set winbindd_enable to YES in /etc/rc.conf or >> use 'onestart' instead of 'start'. >> >> Well, that defeats the purpose of having winbindd_enable at all. >> Yes, my Samba is built with WINBIND=3Don, but still it shouldn't fail >> this way. Here is my options: >> root@kg-quiet# make showconfig >> =3D=3D=3D> The following configuration options are available for >> samba35-3.5.14: LDAP=3Don "With LDAP support" >> =A0 =A0 =A0ADS=3Doff "With Active Directory support" >> =A0 =A0 =A0CUPS=3Don "With CUPS printing support" >> =A0 =A0 =A0WINBIND=3Don "With WinBIND support" >> =A0 =A0 =A0SWAT=3Doff "With SWAT WebGUI" >> =A0 =A0 =A0ACL_SUPPORT=3Doff "With ACL support" >> =A0 =A0 =A0AIO_SUPPORT=3Don "With Asyncronous IO support" >> =A0 =A0 =A0FAM_SUPPORT=3Doff "With File Alteration Monitor" >> =A0 =A0 =A0SYSLOG=3Doff "With Syslog support" >> =A0 =A0 =A0QUOTAS=3Doff "With Disk quota support" >> =A0 =A0 =A0UTMP=3Doff "With UTMP accounting support" >> =A0 =A0 =A0PAM_SMBPASS=3Doff "With PAM authentication vs passdb backends= " >> =A0 =A0 =A0DNSUPDATE=3Doff "With dynamic DNS update(require ADS)" >> =A0 =A0 =A0AVAHI=3Doff "With Bonjour service discovery support" >> =A0 =A0 =A0EXP_MODULES=3Doff "With experimental modules" >> =A0 =A0 =A0POPT=3Don "With system-wide POPT library" >> =A0 =A0 =A0IPV6=3Don "With IPv6 support" >> =A0 =A0 =A0MAX_DEBUG=3Doff "With maximum debugging" >> =A0 =A0 =A0SMBTORTURE=3Doff "With smbtorture" >> =3D=3D=3D> Use 'make config' to modify these settings >> >> and my FreeBSD version: >> root@kg-quiet# uname -a >> FreeBSD kg-quiet.kg4.no 8.2-STABLE FreeBSD 8.2-STABLE #1: Sat Jan =A07 >> 14:05:57 CET 2012 >> root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/GENERIC =A0amd64 >> >> How do I fix it? > > I had a similar experience with Samba-3.4 recently. I entered the > "WINBINDD_ENABLED=3DYES" in the /etc/rc.conf file to get Samba working. > Since I don't need the "winbindd" service, I reconfigured the Samba > port to not build with it and then rebuilt the port. But did you report that the port wasn't working as intended? > Personally, I believe that "WINBINDD" should be "OFF" by default; > however, it is easy enough to configure the port not to build with it. > I agree that it is easy to reconfigure and rebuild the port. But - the port still has a startup script that isn't working as intended; that is an error in the port. Such errors should be reported so that port maintainers so that errors might be corrected. Which is what I have done. --=20 Regards, Torfinn Ingolfsen