summaryrefslogtreecommitdiff
path: root/source3/include/mapping.h
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-02-24 18:03:19 +0000
committerVolker Lendecke <vlendec@samba.org>2004-02-24 18:03:19 +0000
commitc09049d25b22d843524ba54ceeb69295487b2de6 (patch)
tree5ee3343411f451c86661efd69d74407dbb7ea653 /source3/include/mapping.h
parentce789de6e1aa8c8e024edbb0ad4c3411cb0649ef (diff)
downloadsamba-c09049d25b22d843524ba54ceeb69295487b2de6.tar.gz
samba-c09049d25b22d843524ba54ceeb69295487b2de6.tar.bz2
samba-c09049d25b22d843524ba54ceeb69295487b2de6.zip
Add 'net rpc group add'. For this parse_samr.c had to be changed: The
group_info4 in set_dom_group_info also has the level in the record itself. This seems not to be an align. Tested with NT4 usrmgr.exe. It can still create a domain group on a samba machine. Volker (This used to be commit 9cadd14aa53d390a2419d7ce4fe48d58cf372279)
Diffstat (limited to 'source3/include/mapping.h')
-rw-r--r--source3/include/mapping.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/mapping.h b/source3/include/mapping.h
index fdaa2b0453..cd213cfc11 100644
--- a/source3/include/mapping.h
+++ b/source3/include/mapping.h
@@ -29,5 +29,12 @@ typedef struct _GROUP_MAP {
enum SID_NAME_USE sid_name_use;
fstring nt_name;
fstring comment;
+
+ /* Here we store SIDs that we can be sure of to be of type
+ * SID_NAME_DOM_GRP, so it's a Domain Group which can not be
+ * represented via /etc/group memberships. */
+
+ int num_member;
+ DOM_SID *alias_members;
} GROUP_MAP;