mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +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:
parent
2a918a64f0
commit
ffc8b4ac8d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user