Bug 11862 - Samba build does not honor "--with-privileged-socket-dir=" configuration option
Summary: Samba build does not honor "--with-privileged-socket-dir=" configuration option
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.4.2
Hardware: x64 Linux
: P5 minor (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
Depends on:
Reported: 2016-04-20 23:10 UTC by Miguel Medalha
Modified: 2017-01-03 08:44 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Medalha 2016-04-20 23:10:29 UTC
Samba build does not honor "--with-privileged-socket-dir=" configuration option.

Not only is the default not honored but even whith an explicit build time configuration of


the final location still is "/usr/local/samba/var/winbindd_privileged" instead of "/usr/local/samba/var/lib/winbindd_privileged".

Yet, "samba -b" reports:

WINBINDD_PRIVILEGED_SOCKET_DIR: /usr/local/samba/var/lib/winbindd_privileged

Both "testparm -sv" and "samba-tool testparm -v" give "winbindd privileged socket directory = /usr/local/samba/var/lib/winbindd_privileged", which is clearly not the case.
Comment 1 Andrew Bartlett 2017-01-03 08:44:45 UTC
It does, but only for the ntp socket, not the winbindd socket, as this is placed under the state directory (for historical reasons, so we can't change it).