s3-rpc_client: lookup nametype 0x20 in rpc_pipe_open_tcp_port(). (bug #9426)
commitac0623cab847a4df9c5cd35442e9be8924d9e261
authorGünther Deschner <gd@samba.org>
Fri, 23 Nov 2012 12:19:53 +0000 (23 13:19 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 26 Nov 2012 11:41:17 +0000 (26 12:41 +0100)
tree6813d8969613509fd318c2afcee842646f9cd749
parent4760b8f7b256922d81bd84250dae70d7da740450
s3-rpc_client: lookup nametype 0x20 in rpc_pipe_open_tcp_port(). (bug #9426)

The server name type (0x20) is much more likely to be available in the name cache, as
this type gets stored by winbind itself - the primary user of the ncacn_ip_tcp
code currently.

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Nov 23 16:30:57 CET 2012 on sn-devel-104
(cherry picked from commit 2032f2746d70bbebd1af26a7a046eb1cc61ac175)
source3/rpc_client/cli_pipe.c