diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-02 02:57:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:13 -0500 |
commit | edbfc0f6e70150e321822365bf0eead2821551bd (patch) | |
tree | 38164393e1f9b5225662453fb6253947e7fdc086 /source4/librpc | |
parent | 452ddd94ba22bebe0fda5ee6a7ddceae2057fe40 (diff) | |
download | samba-edbfc0f6e70150e321822365bf0eead2821551bd.tar.gz samba-edbfc0f6e70150e321822365bf0eead2821551bd.tar.bz2 samba-edbfc0f6e70150e321822365bf0eead2821551bd.zip |
r3453: - split out the auth and popt includes
- tidied up some of the system includes
- moved a few more structures back from misc.idl to netlogon.idl and samr.idl now that pidl
knows about inter-IDL dependencies
(This used to be commit 7b7477ac42d96faac1b0ff361525d2c63cedfc64)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/misc.idl | 14 | ||||
-rw-r--r-- | source4/librpc/idl/netlogon.idl | 8 | ||||
-rw-r--r-- | source4/librpc/idl/samr.idl | 6 | ||||
-rw-r--r-- | source4/librpc/rpc/dcerpc_schannel.c | 1 |
4 files changed, 15 insertions, 14 deletions
diff --git a/source4/librpc/idl/misc.idl b/source4/librpc/idl/misc.idl index ce884b6c5c..dd31f0f54a 100644 --- a/source4/librpc/idl/misc.idl +++ b/source4/librpc/idl/misc.idl @@ -123,24 +123,10 @@ interface misc GUID uuid; } policy_handle; - /* this is also used in samr and netlogon */ - typedef [public, flag(NDR_PAHEX)] struct { - uint16 units_per_week; - [size_is(1260), length_is(units_per_week/8)] uint8 *bitmap; - } samr_LogonHours; - typedef [public, flag(NDR_PAHEX)] struct { uint8 hash[16]; } samr_Password; - typedef [public,flag(NDR_PAHEX)] struct { - uint8 key[16]; - } netr_UserSessionKey; - - typedef [public,flag(NDR_PAHEX)] struct { - uint8 key[8]; - } netr_LMSessionKey; - typedef [public, flag(NDR_PAHEX)] struct { uint8 data[8]; } netr_Credential; diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl index b880698ffd..7f04d2b648 100644 --- a/source4/librpc/idl/netlogon.idl +++ b/source4/librpc/idl/netlogon.idl @@ -129,6 +129,14 @@ interface netlogon uint32 attributes; } netr_GroupMembership; + typedef [public,flag(NDR_PAHEX)] struct { + uint8 key[16]; + } netr_UserSessionKey; + + typedef [public,flag(NDR_PAHEX)] struct { + uint8 key[8]; + } netr_LMSessionKey; + typedef [public] struct { NTTIME last_logon; NTTIME last_logoff; diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index 4d41e389e6..df33066a12 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -567,6 +567,12 @@ uint16 code_page; } samr_UserInfo2; + /* this is also used in samr and netlogon */ + typedef [public, flag(NDR_PAHEX)] struct { + uint16 units_per_week; + [size_is(1260), length_is(units_per_week/8)] uint8 *bitmap; + } samr_LogonHours; + typedef struct { samr_Name account_name; samr_Name full_name; diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c index d6fc7ad511..3472e1cbe2 100644 --- a/source4/librpc/rpc/dcerpc_schannel.c +++ b/source4/librpc/rpc/dcerpc_schannel.c @@ -22,6 +22,7 @@ #include "includes.h" #include "librpc/gen_ndr/ndr_schannel.h" +#include "auth/auth.h" enum schannel_position { DCERPC_SCHANNEL_STATE_START = 0, |