summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-04-06 18:52:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:12 -0500
commita1e72969d571d6b12f4cfa8c6dc16d7d982daa51 (patch)
tree1480d62d492099bb9c455688eeb1ea01e79286d7 /source3/include
parentab8bbffd653f327fc8dcf561bbe8b9ad71f91268 (diff)
downloadsamba-a1e72969d571d6b12f4cfa8c6dc16d7d982daa51.tar.gz
samba-a1e72969d571d6b12f4cfa8c6dc16d7d982daa51.tar.bz2
samba-a1e72969d571d6b12f4cfa8c6dc16d7d982daa51.zip
r22104: BUG 4439: Fix the object picket on x64 WIndopws XP/2003.
Enable the DsRoleGetPrimaryDomainInfo() server code. Tested by Win2000/XP/2003/Vista (x86) and WinXP (x64) (This used to be commit eab9ca7e7d8d7dc3e705720f8bc5dff5c8ec5f5f)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_ds.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/source3/include/rpc_ds.h b/source3/include/rpc_ds.h
index bfe5179490..4ca49871f6 100644
--- a/source3/include/rpc_ds.h
+++ b/source3/include/rpc_ds.h
@@ -44,6 +44,7 @@
/* machine role */
+#define DSROLE_DOMAIN_MEMBER_WKS 1
#define DSROLE_STANDALONE_SRV 2
#define DSROLE_DOMAIN_MEMBER_SRV 3
#define DSROLE_BDC 4
@@ -60,18 +61,13 @@
typedef struct
{
uint16 machine_role;
- uint16 unknown; /* 0x6173 -- maybe just alignment? */
-
- uint32 flags;
-
+ uint32 flags;
uint32 netbios_ptr;
uint32 dnsname_ptr;
uint32 forestname_ptr;
- struct GUID domain_guid;
-
+ struct GUID domain_guid;
UNISTR2 netbios_domain;
-
UNISTR2 dns_domain; /* our dns domain */
UNISTR2 forest_domain; /* root domain of the forest to which we belong */
} DSROLE_PRIMARY_DOMAIN_INFO_BASIC;