[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba-technical
Subject:    Re: Allow ntlm_auth to have a --winbindd_priviliedged socket location option
From:       Arnab Roy via samba-technical <samba-technical () lists ! samba ! org>
Date:       2017-08-31 12:33:10
Message-ID: CA+oS96FA0f1v4AZXx9zwhn1WP4yXqK9v0GuaJyDQmD4pBzBb8A () mail ! gmail ! com
[Download RAW message or body]

Bump! Anyone ? :)

On 31 Aug 2017 10:58 am, "Arnab Roy" <arniekol@gmail.com> wrote:

> Hi ,
>
> I know I am doing this at my own peril but , I need to specify a custom
> location for ntlm_auth for the winbind priv pipe ,
>
> I found the relevant section in the code that seems to be doing this under
> nsswitch/wb_common.c
>
> static const char *winbindd_socket_dir(void)
> {
>         if (nss_wrapper_enabled()) {
>                 const char *env_dir;
>
>                 env_dir = getenv("SELFTEST_WINBINDD_SOCKET_DIR");
>                 if (env_dir != NULL) {
>                         return env_dir;
>                 }
>         }
>
>         return WINBINDD_SOCKET_DIR;
> }
>
> But that seems to be looking for an environment variable rather than CLI
> option..my C is not great :( any help is appreciated.
>
> TIA
> Arnab
>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic