Date: Thu, 12 Apr 2012 16:15:17 -0400 From: Jerry <jerry@seibercom.net> To: freebsd-ports@freebsd.org Subject: Re: net/samba35 "needs" to have winbindd_enable set to yes - this can't be right Message-ID: <20120412161517.7531647f@scorpio> In-Reply-To: <CAJ_iqtYjGLOw0-Zc=sJvT4Y7_OfBjsVhhgwc7nnhGpufM-NMUA@mail.gmail.com> References: <CAJ_iqtYjGLOw0-Zc=sJvT4Y7_OfBjsVhhgwc7nnhGpufM-NMUA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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="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=on, but still it shouldn't fail > this way. Here is my options: > root@kg-quiet# make showconfig > ===> The following configuration options are available for > samba35-3.5.14: LDAP=on "With LDAP support" > ADS=off "With Active Directory support" > CUPS=on "With CUPS printing support" > WINBIND=on "With WinBIND support" > SWAT=off "With SWAT WebGUI" > ACL_SUPPORT=off "With ACL support" > AIO_SUPPORT=on "With Asyncronous IO support" > FAM_SUPPORT=off "With File Alteration Monitor" > SYSLOG=off "With Syslog support" > QUOTAS=off "With Disk quota support" > UTMP=off "With UTMP accounting support" > PAM_SMBPASS=off "With PAM authentication vs passdb backends" > DNSUPDATE=off "With dynamic DNS update(require ADS)" > AVAHI=off "With Bonjour service discovery support" > EXP_MODULES=off "With experimental modules" > POPT=on "With system-wide POPT library" > IPV6=on "With IPv6 support" > MAX_DEBUG=off "With maximum debugging" > SMBTORTURE=off "With smbtorture" > ===> 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 7 > 14:05:57 CET 2012 > root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 > > How do I fix it? I had a similar experience with Samba-3.4 recently. I entered the "WINBINDD_ENABLED=YES" 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. Personally, I believe that "WINBINDD" should be "OFF" by default; however, it is easy enough to configure the port not to build with it. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120412161517.7531647f>