Miguel Medalha
2016-Apr-07 19:59 UTC
[Samba] Is the location of the "winbindd_privileged" directory hard-coded?
Even whith an explicit build time configuration of
--with-statedir=/usr/local/samba/var
--with-privileged-socket-dir=/usr/local/samba/var/lib
the final path still is "${LOCALSTATEDIR}/winbindd_privileged" instead
of "${LOCALSTATEDIR}/lib/winbindd_privileged".
Yet, "samba -b" reports
WINBINDD_PRIVILEGED_SOCKET_DIR: /usr/local/samba/var/lib/winbindd_privileged
"testparm -sv" and "samba-tool -v" give "winbindd
privileged socket
directory = /usr/local/samba/var/lib/winbindd_privileged"
Miguel Medalha
2016-Apr-07 20:19 UTC
[Samba] Is the location of the "winbindd_privileged" directory hard-coded?
"man winbindd" states that the winbindd privileged pipe should be in
"$LOCKDIR/winbindd_privileged/pipe" which is also not correct.
A FHS installation places the "winbindd_privileged" directory in the
expected place "/var/lib/samba/winbindd_privileged".
The /usr/local installation does not respect its own default:
--with-privileged-socket-dir=PRIVILEGED_SOCKET_DIR
privileged socket directory
[STD-Default: ${LOCALSTATEDIR}/lib]
[FHS-Default: ${LOCALSTATEDIR}/lib/samba]