summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-11-22 14:10:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:30 -0500
commit63addcb4d7c9c13446d91a0972fe29542a7e1bad (patch)
tree33c02eb431e34273e4f9526a90867ef9484cd61a /source3/include
parente09cc27d3b0156fd410c1e47cbbb6686819119d4 (diff)
downloadsamba-63addcb4d7c9c13446d91a0972fe29542a7e1bad.tar.gz
samba-63addcb4d7c9c13446d91a0972fe29542a7e1bad.tar.bz2
samba-63addcb4d7c9c13446d91a0972fe29542a7e1bad.zip
r11853: Add Dsr_GetSiteName (handy for experimenting with GPOs).
Guenther (This used to be commit c54430a7b5e40d3bdf8afdc813eb722c0a3b861e)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_netlogon.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/include/rpc_netlogon.h b/source3/include/rpc_netlogon.h
index bc4c41cd1f..fdf2f08c03 100644
--- a/source3/include/rpc_netlogon.h
+++ b/source3/include/rpc_netlogon.h
@@ -40,6 +40,7 @@
#define NET_TRUST_DOM_LIST 0x13
#define NET_DSR_GETDCNAME 0x14
#define NET_AUTH3 0x1a
+#define NET_DSR_GETSITENAME 0x1c
/* Secure Channel types. used in NetrServerAuthenticate negotiation */
#define SEC_CHAN_WKSTA 2
@@ -968,4 +969,18 @@ typedef struct net_r_dsr_getdcname {
WERROR result;
} NET_R_DSR_GETDCNAME;
+/* NET_Q_DSR_GESITENAME */
+typedef struct net_q_dsr_getsitename {
+ uint32 ptr_computer_name;
+ UNISTR2 uni_computer_name;
+} NET_Q_DSR_GETSITENAME;
+
+/* NET_R_DSR_GETSITENAME */
+typedef struct net_r_dsr_getsitename {
+ uint32 ptr_site_name;
+ UNISTR2 uni_site_name;
+ WERROR result;
+} NET_R_DSR_GETSITENAME;
+
+
#endif /* _RPC_NETLOGON_H */