Ubuntu 14.04, Freeradius and ntlm_auth

Beware: After updating Ubuntu to 14.04 you should fix your samba/ winbindd config as it has a major error that prevents freeradius from using ntlm_auth. Your have to change /etc/init/winbind.conf to

description "Samba Winbind"
author "David Weber"

start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]

respawn

pre-start script
test -x /usr/sbin/winbindd || exit 0
mkdir -p /var/lib/samba/winbindd_privileged
chgrp winbindd_priv /var/lib/samba/winbindd_privileged chmod 0750 /var/lib/samba/winbindd_privileged
end script

script
[ -r /etc/default/winbind ] && . /etc/default/winbind
exec /usr/sbin/winbindd -F $WINBINDD_OPTS
end script

and make horribly sure that it won’t be overwritten with the next update as they don’t seem to be interested to fix it…

c.f. https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1330220

[Update]
Debian seems to have the same problem:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754339

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s