From: Andreas Schneider Date: Mon, 5 Nov 2018 07:16:23 +0000 (+0100) Subject: nss_wins: Set client process name X-Git-Tag: tdb-1.3.17~803 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffc8b4ac8d418b44da7206469ae076398e12b7ac;p=thirdparty%2Fsamba.git nss_wins: Set client process name Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison --- diff --git a/nsswitch/wins.c b/nsswitch/wins.c index 72055f099b6..ddbbb03d844 100644 --- a/nsswitch/wins.c +++ b/nsswitch/wins.c @@ -69,6 +69,7 @@ static char *lookup_byname_backend(const char *name) return NULL; } + wbcSetClientProcessName("nss_wins"); result = wbcResolveWinsByName(name, &ip); if (result != WBC_ERR_SUCCESS) { return NULL; @@ -89,6 +90,7 @@ static char *lookup_byaddr_backend(const char *ip) wbcErr result; char *name = NULL; + wbcSetClientProcessName("nss_wins"); result = wbcResolveWinsByIP(ip, &name); if (result != WBC_ERR_SUCCESS) { return NULL;