diff options
author | Tim Potter <tpot@samba.org> | 2001-01-15 23:39:20 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-01-15 23:39:20 +0000 |
commit | 31f42d9fab31c9c786974fe2ae72b55d5642946b (patch) | |
tree | 7496b59db3c3b89357a096592a9f4ed5eaf1e477 /source3/include/rpc_samr.h | |
parent | 19a8acda6400e17707b32e3cba721d83e5cbf987 (diff) | |
download | samba-31f42d9fab31c9c786974fe2ae72b55d5642946b.tar.gz samba-31f42d9fab31c9c786974fe2ae72b55d5642946b.tar.xz samba-31f42d9fab31c9c786974fe2ae72b55d5642946b.zip |
New proto and some small changes to rpc_samr.h
(This used to be commit 7f31d4ab1da72fe1dd52c7ecc1c758e210b6d38d)
Diffstat (limited to 'source3/include/rpc_samr.h')
-rw-r--r-- | source3/include/rpc_samr.h | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h index 1f65470f7a0..3438e44abe2 100644 --- a/source3/include/rpc_samr.h +++ b/source3/include/rpc_samr.h @@ -24,10 +24,8 @@ #ifndef _RPC_SAMR_H /* _RPC_SAMR_H */ #define _RPC_SAMR_H - #include "rpc_misc.h" - /******************************************************************* the following information comes from a QuickView on samsrv.dll, and gives an idea of exactly what is needed: @@ -144,8 +142,6 @@ SamrTestPrivateFunctionsUser #define SAMR_CONNECT 0x39 #define SAMR_SET_USERINFO 0x3A - - typedef struct logon_hours_info { uint32 len; /* normally 21 bytes */ @@ -541,24 +537,15 @@ typedef struct r_samr_lookup_domain_info } SAMR_R_LOOKUP_DOMAIN; - -/**************************************************************************** -SAMR_Q_OPEN_DOMAIN - unknown_0 values seen associated with SIDs: - -0x0000 03f1 and a specific domain sid - S-1-5-21-44c01ca6-797e5c3d-33f83fd0 -0x0000 0200 and a specific domain sid - S-1-5-21-44c01ca6-797e5c3d-33f83fd0 -*****************************************************************************/ - /* SAMR_Q_OPEN_DOMAIN */ typedef struct q_samr_open_domain_info { - POLICY_HND pol; /* policy handle */ - uint32 flags; /* 0x2000 0000; 0x0000 0211; 0x0000 0280; 0x0000 0200 - flags? */ - DOM_SID2 dom_sid; /* domain SID */ + POLICY_HND connect_pol; /* Policy handle */ + uint32 access_mask; /* Requested permissions */ + DOM_SID2 dom_sid; /* Domain SID */ } SAMR_Q_OPEN_DOMAIN; - /* SAMR_R_OPEN_DOMAIN - probably an open */ typedef struct r_samr_open_domain_info { @@ -1462,7 +1449,7 @@ typedef struct q_samr_open_group_info /* SAMR_R_OPEN_GROUP - probably an open */ typedef struct r_samr_open_group_info { - POLICY_HND pol; /* policy handle */ + POLICY_HND group_pol; /* policy handle */ uint32 status; /* return status */ } SAMR_R_OPEN_GROUP; |