summaryrefslogtreecommitdiff
path: root/source4/lib/samba3/samba3.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/samba3/samba3.h')
-rw-r--r--source4/lib/samba3/samba3.h29
1 files changed, 28 insertions, 1 deletions
diff --git a/source4/lib/samba3/samba3.h b/source4/lib/samba3/samba3.h
index d3e03cf923..adb7b8973a 100644
--- a/source4/lib/samba3/samba3.h
+++ b/source4/lib/samba3/samba3.h
@@ -75,6 +75,20 @@ struct samba3_groupmapping {
const char *comment;
};
+struct samba3_alias {
+ struct dom_sid *sid;
+ uint32_t member_count;
+ struct dom_sid **members;
+};
+
+struct samba3_groupdb {
+ uint32_t groupmap_count;
+ struct samba3_groupmapping *groupmappings;
+
+ uint32_t alias_count;
+ struct samba3_alias *aliases;
+};
+
struct samba3_idmap_mapping
{
enum { IDMAP_GROUP, IDMAP_USER } type;
@@ -82,7 +96,7 @@ struct samba3_idmap_mapping
struct dom_sid *sid;
};
-struct samba3_idmap
+struct samba3_idmapdb
{
/* High water marks */
uint32_t user_hwm;
@@ -116,4 +130,17 @@ struct samba3_policy
uint32_t refuse_machine_password_change;
};
+struct samba3
+{
+ uint32_t winsdb_count;
+ struct samba3_winsdb_entry *winsdb_entries;
+
+ uint32_t samaccount_count;
+ struct samba3_samaccount *samaccounts;
+
+ struct samba3_groupdb group;
+ struct samba3_idmapdb idmap;
+ struct samba3_policy policy;
+};
+
#endif /* _SAMBA3_H */