diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-03-25 11:39:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:59:12 -0500 |
commit | 57589e3b67c4fbe6412478bef9a46cdf5b1df795 (patch) | |
tree | 48857bc99ae19b3d1c3b445f56fcdf0f39393b47 /source4/librpc/rpc/dcerpc.h | |
parent | 26137648ab133c6f6ead953aac33e0e3908dabf4 (diff) | |
download | samba-57589e3b67c4fbe6412478bef9a46cdf5b1df795.tar.gz samba-57589e3b67c4fbe6412478bef9a46cdf5b1df795.tar.bz2 samba-57589e3b67c4fbe6412478bef9a46cdf5b1df795.zip |
r14714: On DCE/RPC, we need the name of the remote server used on the socket,
for Kerberos. It must be the full name contacted, not the 'called
name' we might want to use for \\server things, so add another function.
Andrew Bartlett
(This used to be commit 6d57d1dbb76e7d1ca2fd4f1a6c0bacfa7a189e2b)
Diffstat (limited to 'source4/librpc/rpc/dcerpc.h')
-rw-r--r-- | source4/librpc/rpc/dcerpc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h index 7fcaa9d922..3ee3c4a502 100644 --- a/source4/librpc/rpc/dcerpc.h +++ b/source4/librpc/rpc/dcerpc.h @@ -65,6 +65,8 @@ struct dcerpc_connection { const char *(*peer_name)(struct dcerpc_connection *); + const char *(*target_hostname)(struct dcerpc_connection *); + /* send a request to the server */ NTSTATUS (*send_request)(struct dcerpc_connection *, DATA_BLOB *, BOOL trigger_read); |