summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/idmap.h4
-rw-r--r--source3/include/smb.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/source3/include/idmap.h b/source3/include/idmap.h
index 80bd541a23..472358a230 100644
--- a/source3/include/idmap.h
+++ b/source3/include/idmap.h
@@ -42,13 +42,15 @@ struct idmap_domain {
BOOL readonly;
void *private_data;
struct idmap_methods *methods;
+ BOOL initialized;
+ const char *params;
};
/* Filled out by IDMAP backends */
struct idmap_methods {
/* Called when backend is first loaded */
- NTSTATUS (*init)(struct idmap_domain *dom, const char *compat_params);
+ NTSTATUS (*init)(struct idmap_domain *dom);
NTSTATUS (*unixids_to_sids)(struct idmap_domain *dom, struct id_map **ids);
NTSTATUS (*sids_to_unixids)(struct idmap_domain *dom, struct id_map **ids);
diff --git a/source3/include/smb.h b/source3/include/smb.h
index a9c57f77f2..f85201ed30 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -278,7 +278,8 @@ typedef struct dom_sid {
enum id_mapping {
ID_UNKNOWN,
ID_MAPPED,
- ID_UNMAPPED
+ ID_UNMAPPED,
+ ID_EXPIRED
};
enum id_type {