summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-27 03:05:47 +0200
committerGünther Deschner <gd@samba.org>2008-10-09 11:08:56 +0200
commit298a918e953853d3b6fbb20e5984275db083bc9b (patch)
treef3da85275d378bfed4e19240aecace5ca179fed9 /source3/nsswitch
parent543c6a02ae1dcb903de800c88af1f9e221827d61 (diff)
downloadsamba-298a918e953853d3b6fbb20e5984275db083bc9b.tar.gz
samba-298a918e953853d3b6fbb20e5984275db083bc9b.tar.bz2
samba-298a918e953853d3b6fbb20e5984275db083bc9b.zip
s3-winbindd: add dsgetdcname request and reply to winbind structure.
Guenther
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbind_struct_protocol.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/source3/nsswitch/winbind_struct_protocol.h b/source3/nsswitch/winbind_struct_protocol.h
index e81813c77b..ff52dbddaf 100644
--- a/source3/nsswitch/winbind_struct_protocol.h
+++ b/source3/nsswitch/winbind_struct_protocol.h
@@ -313,6 +313,12 @@ struct winbindd_request {
uint32_t initial_blob_len; /* blobs in extra_data */
uint32_t challenge_blob_len;
} ccache_ntlm_auth;
+ struct {
+ fstring domain_name;
+ fstring domain_guid;
+ fstring site_name;
+ uint32_t flags;
+ } dsgetdcname;
/* padding -- needed to fix alignment between 32bit and 64bit libs.
The size is the sizeof the union without the padding aligned on
@@ -453,6 +459,17 @@ struct winbindd_response {
struct {
uint32_t auth_blob_len; /* blob in extra_data */
} ccache_ntlm_auth;
+ struct {
+ fstring dc_unc;
+ fstring dc_address;
+ uint32_t dc_address_type;
+ fstring domain_guid;
+ fstring domain_name;
+ fstring forest_name;
+ uint32_t dc_flags;
+ fstring dc_site_name;
+ fstring client_site_name;
+ } dsgetdcname;
} data;
/* Variable length return data */