summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2005-02-26 15:26:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:48 -0500
commit180fa12026caef8f22154e0e7c60f9043b5588e2 (patch)
tree0834235ab13715aacb6aa4fecad3cfc6178a2d93 /source3/include
parentfb84318c34418d6f11344b5497efde3a37b5446a (diff)
downloadsamba-180fa12026caef8f22154e0e7c60f9043b5588e2.tar.gz
samba-180fa12026caef8f22154e0e7c60f9043b5588e2.tar.bz2
samba-180fa12026caef8f22154e0e7c60f9043b5588e2.zip
r5580: Fix "net rpc trustdom add". Much closer to what windows does. Also stop
referencing unknown_6 from sam, because it's just fixed at 1260, the max len of LOGON_HRS. Need to go in and mark it as "remove me" from passdb. (This used to be commit ffac752875938d510446ebbeba6fc983f65cda1e)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_samr.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h
index e041ee26f0..6559127df1 100644
--- a/source3/include/rpc_samr.h
+++ b/source3/include/rpc_samr.h
@@ -148,6 +148,8 @@ SamrTestPrivateFunctionsUser
typedef struct logon_hours_info
{
+ uint32 max_len; /* normally 1260 bytes */
+ uint32 offset;
uint32 len; /* normally 21 bytes */
uint8 hours[32];
@@ -212,9 +214,6 @@ typedef struct sam_user_info_23
UNISTR2 uni_unknown_str ; /* don't know what this is, yet. */
UNISTR2 uni_munged_dial ; /* munged path name and dial-back tel no */
- uint32 unknown_6; /* 0x0000 04ec */
- uint32 padding4;
-
LOGON_HRS logon_hrs;
} SAM_USER_INFO_23;
@@ -336,9 +335,6 @@ typedef struct sam_user_info_21
UNISTR2 uni_unknown_str ; /* don't know what this is, yet. */
UNISTR2 uni_munged_dial ; /* munged path name and dial-back tel number */
- uint32 unknown_6; /* 0x0000 04ec */
- uint32 padding4;
-
LOGON_HRS logon_hrs;
} SAM_USER_INFO_21;