[WBCLIENT] Add process name to the winbind request
jra at samba.org
Fri Nov 2 16:31:47 UTC 2018
On Fri, Nov 02, 2018 at 05:15:08PM +0100, Andreas Schneider via samba-technical wrote:
> 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.
Sounds like a great idea to me. I've had problems in the past
matching a winbind request with the issuing process.
More information about the samba-technical