git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a918a6
)
nss_wins: Set client process name
author
Andreas Schneider
<asn@samba.org>
Mon, 5 Nov 2018 07:16:23 +0000
(08:16 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 12 Nov 2018 08:50:26 +0000
(09:50 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
nsswitch/wins.c
patch
|
blob
|
history
diff --git
a/nsswitch/wins.c
b/nsswitch/wins.c
index 72055f099b652b5307213438cfca7bd6cda11d85..ddbbb03d8445a3188b5e26da168d2d6f2890f870 100644
(file)
--- 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;