s3-rpc_client: lookup nametype 0x20 in rpc_pipe_open_tcp_port(). (bug #9426)
commitf49eecbf899498d78a402920ed4a262455cac25b
authorGünther Deschner <gd@samba.org>
Fri, 23 Nov 2012 12:19:53 +0000 (23 13:19 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 6 Dec 2012 08:40:20 +0000 (6 09:40 +0100)
treea80ac1f51d6217d89f4b7432238c3795981372a8
parentb5d59660d16954d9169323235d210c2891d674dd
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)
(cherry picked from commit ac0623cab847a4df9c5cd35442e9be8924d9e261)
(cherry picked from commit 0a52a89f8ed23d2f55cb4d6a0fbb94571e70a8ee)
source3/rpc_client/cli_pipe.c