[WBCLIENT] Add process name to the winbind request

Andreas Schneider asn at samba.org
Fri Nov 2 16:15:08 UTC 2018


On Friday, 2 November 2018 16:47:10 CET Christof Schmitt wrote:
> On Fri, Nov 02, 2018 at 09:39:57AM +0100, Andreas Schneider via samba-
technical wrote:
> > Hi,
> > 
> > currently we send the pid as part of the request from wbclient to winbind.
> > Would it make sense to add the process name and log it on the winbind
> > side?
> > 
> > If you just get logs and don't have access to the box, you would at least
> > have a clue which process created the request to winbind.
> 
> +1
> 
> This would be useful for debugging.

OK. I will look into it. I would add a wb_set_progname() so we can call it in 
pam_winbind or nss_winbind to not get the process name.


	Andreas


-- 
Andreas Schneider                      asn at samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D





More information about the samba-technical mailing list