[Pkg-samba-maint] Winbindd_privileged pipe location mismatch

Seth Mos seth.mos at dds.nl
Fri Nov 20 09:37:53 UTC 2015


Hi,

Problem: The current winbind package creates the winbindd_privileged
directory in /var/lib/samba/winbindd_privileged and not
/var/run/samba/winbindd_privileged.

The init script /etc/init.d/winbind specifies the directory for the pipe
as PIDDIR=/var/run/samba

A bit further on line 42 we dont appear to be using this variable
either, but we do on line 43/44.
mkdir -p /var/run/samba/winbindd_privileged || return 1
chgrp winbindd_priv $PIDDIR/winbindd_privileged/ || return 1
chmod 0750 $PIDDIR/winbindd_privileged/ || return 1

Either way the actual pipe is located in
/var/lib/samba/winbindd_privileged and not the expected location
/var/run/samba/winbindd_privileged.

When calling ntlm_auth from Squid3 it expects the pipe to exist in the
location specified in the init script, which is correct.

Workaround: I've solved this by making a symlink from the correct
location to the errant pipe location.
ln -s /var/lib/samba/winbindd_privileged/ /var/run/samba/winbindd_privileged

Solution: Fix the compile time location of the winbind privileged pipe.

After adding the proxy user to the winbindd_priv group AD authentication
now works.

Kind regards,

Seth


root at proxy1:/var/run/samba# aptitude show winbind
Pakket: winbind
Staat: geïnstalleerd
Automatisch geïnstalleerd: nee
Versie: 2:4.1.17+dfsg-2
Prioriteit: optioneel
Sectie: net
Beheerder: Debian Samba Maintainers
<pkg-samba-maint at lists.alioth.debian.org>
Architectuur: amd64



More information about the Pkg-samba-maint mailing list