Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2012 23:09:27 +0200
From:      Torfinn Ingolfsen <tingox@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: net/samba35 "needs" to have winbindd_enable set to yes - this can't be right
Message-ID:  <CAJ_iqtazRmVXXFB75jyEsudi=vk1hNcii5u_kjp88q2xA5A9EA@mail.gmail.com>
In-Reply-To: <20120412161517.7531647f@scorpio>
References:  <CAJ_iqtYjGLOw0-Zc=sJvT4Y7_OfBjsVhhgwc7nnhGpufM-NMUA@mail.gmail.com> <20120412161517.7531647f@scorpio>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 12, 2012 at 10:15 PM, Jerry <jerry@seibercom.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ_iqtazRmVXXFB75jyEsudi=vk1hNcii5u_kjp88q2xA5A9EA>