summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-02 04:59:18 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-02 04:59:18 +0000
commit399496d9d9f67a8bae70f98a851aa3b4f30686c2 (patch)
treea57e9de4d76b4bc68df2dea0159587406e9cbb4f /source4/librpc
parent9632db5a19f69500f42211fd53cc38bc18991b83 (diff)
downloadsamba-399496d9d9f67a8bae70f98a851aa3b4f30686c2.tar.gz
samba-399496d9d9f67a8bae70f98a851aa3b4f30686c2.tar.bz2
samba-399496d9d9f67a8bae70f98a851aa3b4f30686c2.zip
netr_DatabaseSync() now works fully for databases 0, 1 and 2
(This used to be commit c4c09e9413d3886e030e98739121bbae81f80ca5)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/misc.idl2
-rw-r--r--source4/librpc/idl/netlogon.idl3
2 files changed, 3 insertions, 2 deletions
diff --git a/source4/librpc/idl/misc.idl b/source4/librpc/idl/misc.idl
index d974b5465c..eb2288bc35 100644
--- a/source4/librpc/idl/misc.idl
+++ b/source4/librpc/idl/misc.idl
@@ -62,7 +62,7 @@ interface misc
} ULONG8;
/* this is also used in samr and netlogon */
- typedef [public] struct {
+ typedef [public, flag(NDR_PAHEX)] struct {
uint32 units_per_week;
[size_is(1260), length_is(units_per_week/8)] uint8 *bitmap;
} samr_LogonHours;
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index 7e15102043..9214d0505b 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -445,7 +445,7 @@ interface netlogon
NTTIME auditretentionperiod;
bool8 auditingmode;
uint32 maxauditeventcount;
- [size_is(maxauditeventcount)] uint32 *eventauditoptions;
+ [size_is(maxauditeventcount+1)] uint32 *eventauditoptions;
netr_String primarydomainname;
dom_sid2 *sid;
QUOTA_LIMITS quota_limits;
@@ -485,6 +485,7 @@ interface netlogon
[size_is(privilege_entries)] uint32 *privilege_attrib;
[size_is(privilege_entries)] netr_String *privilege_name;
QUOTA_LIMITS quotalimits;
+ uint32 system_flags;
uint32 SecurityInformation;
sec_desc_buf sdbuf;
netr_String unknown1;