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:
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.
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).