s3-winbindd: add dsgetdcname request and reply to winbind structure.
authorGünther Deschner <gd@samba.org>
Sat, 27 Sep 2008 01:05:47 +0000 (03:05 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 9 Oct 2008 09:08:56 +0000 (11:08 +0200)
Guenther

source3/nsswitch/winbind_struct_protocol.h

index e81813c77b37d225c0cec87a184a83bbf5483283..ff52dbddafcbfba5447b6050cb152727eb3c4eda 100644 (file)
@@ -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 */