From 180fa12026caef8f22154e0e7c60f9043b5588e2 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Sat, 26 Feb 2005 15:26:55 +0000 Subject: 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) --- source3/include/rpc_samr.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'source3/include') 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; -- cgit