1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

nss_wins: Set client process name

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andreas Schneider 2018-11-05 08:16:23 +01:00 committed by Andreas Schneider
parent 2a918a64f0
commit ffc8b4ac8d

View File

@ -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;