summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/samr.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-02 03:06:21 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-02 03:06:21 +0000
commitd65f0095c9acc11e9512c546a99af720d7dd5036 (patch)
treed6dcf5a4809081a60988428faac53f25e9143d9e /source4/librpc/idl/samr.idl
parent2e70035f87ebcdfbdc3cf8d05cd89d4eeeebc16c (diff)
downloadsamba-d65f0095c9acc11e9512c546a99af720d7dd5036.tar.gz
samba-d65f0095c9acc11e9512c546a99af720d7dd5036.tar.bz2
samba-d65f0095c9acc11e9512c546a99af720d7dd5036.zip
added netr_DatabaseSync(). It doesn't work as I haven't done schannel
yet, but at least the request is understood by w2k3 Also modified pidl to allow multiple branches in a union to have the same element. This is used in netlogon. (This used to be commit 983c0e9683fa9666a6e055d1776ebeef8cd2e700)
Diffstat (limited to 'source4/librpc/idl/samr.idl')
-rw-r--r--source4/librpc/idl/samr.idl18
1 files changed, 4 insertions, 14 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index cd44c9174a..e690e7b616 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -13,12 +13,6 @@
pointer_default(unique)
] interface samr
{
- /* a 4 byte aligned 64-bit integer */
- typedef [public] struct {
- uint32 low;
- uint32 high;
- } ULONG8;
-
/******************/
/* Function: 0x00 */
NTSTATUS samr_Connect (
@@ -491,16 +485,14 @@
NTTIME last_pwd_change;
NTTIME allow_pwd_change;
NTTIME force_pwd_change;
- uint32 units_per_week;
- [size_is(1260), length_is(units_per_week/8)] uint8 *logon_hours;
+ samr_LogonHours logon_hours;
uint16 bad_pwd_count;
uint16 num_logons;
uint32 acct_flags;
} samr_UserInfo3;
typedef struct {
- uint32 units_per_week;
- [size_is(1260), length_is(units_per_week/8)] uint8 *logon_hours;
+ samr_LogonHours logon_hours;
} samr_UserInfo4;
typedef struct {
@@ -516,8 +508,7 @@
samr_Name workstations;
NTTIME last_logon;
NTTIME last_logoff;
- uint32 units_per_week;
- [size_is(1260), length_is(units_per_week/8)] uint8 *logon_hours;
+ samr_LogonHours logon_hours;
uint16 bad_pwd_count;
uint16 num_logons;
NTTIME last_pwd_change;
@@ -601,8 +592,7 @@
uint32 primary_gid;
uint32 acct_flags;
uint32 fields_present;
- uint32 units_per_week;
- [size_is(1260), length_is(units_per_week/8)] uint8 *logon_hours;
+ samr_LogonHours logon_hours;
uint16 bad_pwd_count;
uint16 num_logons;
uint16 country_code;