mirror of
https://github.com/samba-team/samba.git
synced 2025-10-26 23:33:15 +03:00
r19266: Add a target_hostname element to the binding struct. This allows us
to perform a lookup once, resolve the name to an IP, while still communicating the full name to the lower layers, for kerberos etc. This fixes 'net samdump', which was failing due to the schannel target name being *smbserver. Andrew Bartlett
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c9c2e90e2e
commit
0546f487f4
@@ -26,14 +26,16 @@
|
||||
*/
|
||||
|
||||
enum libnet_RpcConnect_level {
|
||||
LIBNET_RPC_CONNECT_SERVER, /* connect to a standalone rpc server */
|
||||
LIBNET_RPC_CONNECT_PDC, /* connect to a domain pdc (resolves domain
|
||||
name to a pdc address before connecting) */
|
||||
LIBNET_RPC_CONNECT_DC, /* connect to any DC (resolves domain
|
||||
name to a DC address before connecting) */
|
||||
LIBNET_RPC_CONNECT_BINDING, /* specified binding string */
|
||||
LIBNET_RPC_CONNECT_DC_INFO /* connect to a DC and provide basic domain
|
||||
information (name, realm, sid, guid) */
|
||||
LIBNET_RPC_CONNECT_SERVER, /* connect to a standalone rpc server */
|
||||
LIBNET_RPC_CONNECT_SERVER_ADDRESS, /* connect to a standalone rpc server,
|
||||
knowing both name and address */
|
||||
LIBNET_RPC_CONNECT_PDC, /* connect to a domain pdc (resolves domain
|
||||
name to a pdc address before connecting) */
|
||||
LIBNET_RPC_CONNECT_DC, /* connect to any DC (resolves domain
|
||||
name to a DC address before connecting) */
|
||||
LIBNET_RPC_CONNECT_BINDING, /* specified binding string */
|
||||
LIBNET_RPC_CONNECT_DC_INFO /* connect to a DC and provide basic domain
|
||||
information (name, realm, sid, guid) */
|
||||
};
|
||||
|
||||
struct libnet_RpcConnect {
|
||||
@@ -41,6 +43,7 @@ struct libnet_RpcConnect {
|
||||
|
||||
struct {
|
||||
const char *name;
|
||||
const char *address;
|
||||
const char *binding;
|
||||
const struct dcerpc_interface_table *dcerpc_iface;
|
||||
} in;
|
||||
|
||||
Reference in New Issue
Block a user