summaryrefslogtreecommitdiff
path: root/source3/utils/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net.h')
-rw-r--r--source3/utils/net.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/utils/net.h b/source3/utils/net.h
index 0bec621c3c..a2df6596b4 100644
--- a/source3/utils/net.h
+++ b/source3/utils/net.h
@@ -97,3 +97,16 @@ extern struct in_addr opt_dest_ip;
extern const char *share_type[];
+/* Structure for mapping accounts to groups */
+/* Array element is the group rid */
+typedef struct _groupmap {
+ uint32 rid;
+ uint32 gidNumber;
+ fstring sambaSID;
+ fstring group_dn;
+} GROUPMAP;
+
+typedef struct _accountmap {
+ uint32 rid;
+ fstring cn;
+} ACCOUNTMAP;