mirror of
https://github.com/samba-team/samba.git
synced 2025-11-14 12:23:52 +03:00
r9702: r9680@blu: tridge | 2005-08-27 18:45:08 +1000
- fixed ncacn_ip_tcp to use the generic async name resolution methods, so NBT names now work (as requested several times by abartlet!) - changed resolve_name() to take an event_context, so it doesn't cause the whole process to block - cleaned up the talloc_find_parent_bytype() calls to go via a cleaner event_context_find() call
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1cd62944f1
commit
b3d491b210
@@ -326,7 +326,7 @@ BOOL smbcli_sock_connect_byname(struct smbcli_socket *sock, const char *host, in
|
||||
nbt_name.type = name_type;
|
||||
nbt_name.scope = NULL;
|
||||
|
||||
status = resolve_name(&nbt_name, sock, &address);
|
||||
status = resolve_name(&nbt_name, sock, &address, sock->event.ctx);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return False;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user