diff options
author | Luke Leighton <lkcl@samba.org> | 1998-12-02 22:05:56 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-12-02 22:05:56 +0000 |
commit | 78df0fb8f1ef52b629ccc2634bb0e158a80058a3 (patch) | |
tree | 1b6fd8660b680d703ae3f344a2b8e0b81b72f0cf /source3/include | |
parent | 90ce7b9288f23cbf0fe3ce2aecb0b11d283ed531 (diff) | |
download | samba-78df0fb8f1ef52b629ccc2634bb0e158a80058a3.tar.gz samba-78df0fb8f1ef52b629ccc2634bb0e158a80058a3.tar.bz2 samba-78df0fb8f1ef52b629ccc2634bb0e158a80058a3.zip |
added rid and sid_name_use to DOMAIN_GRP_MEMBER, for use in group member
query.
domain groups now work, hurrah! only thing is that the description is
one character long, don't know why (which is wierd in itself).
(This used to be commit 78a86c64960a7823b0db8b7bebfffabb4a5ba864)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/rpc_samr.h | 20 | ||||
-rw-r--r-- | source3/include/smb.h | 2 |
2 files changed, 12 insertions, 10 deletions
diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h index 4c42c18921..657058d940 100644 --- a/source3/include/rpc_samr.h +++ b/source3/include/rpc_samr.h @@ -1037,20 +1037,20 @@ SAMR_R_UNKNOWN_12 - do a conversion from group RID to names /* SAMR_R_UNKNOWN_12 */ typedef struct r_samr_unknown_12_info { - POLICY_HND pol; /* policy handle */ + POLICY_HND pol; /* policy handle */ - uint32 num_aliases1; /* number of aliases being looked up */ - uint32 ptr_aliases; /* pointer to aliases */ - uint32 num_aliases2; /* number of aliases being looked up */ + uint32 num_names1; /* number of aliases being looked up */ + uint32 ptr_names; /* pointer to aliases */ + uint32 num_names2; /* number of aliases being looked up */ - UNIHDR hdr_als_name[MAX_LOOKUP_SIDS]; /* unicode account name header */ - UNISTR2 uni_als_name[MAX_LOOKUP_SIDS]; /* unicode account name string */ + UNIHDR hdr_name[MAX_LOOKUP_SIDS]; /* unicode account name header */ + UNISTR2 uni_name[MAX_LOOKUP_SIDS]; /* unicode account name string */ - uint32 num_als_usrs1; /* number of users in aliases being looked up */ - uint32 ptr_als_usrs; /* pointer to users in aliases */ - uint32 num_als_usrs2; /* number of users in aliases being looked up */ + uint32 num_types1; /* number of users in aliases being looked up */ + uint32 ptr_types; /* pointer to users in aliases */ + uint32 num_types2; /* number of users in aliases being looked up */ - uint32 num_als_usrs[MAX_LOOKUP_SIDS]; /* number of users per group */ + uint32 type[MAX_LOOKUP_SIDS]; /* SID_ENUM type */ uint32 status; diff --git a/source3/include/smb.h b/source3/include/smb.h index 3d8dd14a1b..e4191f706d 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -486,6 +486,8 @@ typedef struct domain_grp_member_info { fstring name; uint8 attr; /* attributes forced to be set to 0x7: SE_GROUP_xxx */ + uint32 rid; /* rid of domain group member */ + uint8 sid_use; /* usr=1 grp=2 dom=3 alias=4 wkng=5 del=6 inv=7 unk=8 */ } DOMAIN_GRP_MEMBER; |