summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-09-08 15:25:22 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-09-08 15:25:22 +0000
commite889fc07ac9ea09fd97035fabef629e4bdf54cd1 (patch)
treea98c91d8d731555233856f386b13eae761216203
parent8a5abe4dbee59dd53a9a2b842698ac6cb587a104 (diff)
downloadsamba-e889fc07ac9ea09fd97035fabef629e4bdf54cd1.tar.gz
samba-e889fc07ac9ea09fd97035fabef629e4bdf54cd1.tar.bz2
samba-e889fc07ac9ea09fd97035fabef629e4bdf54cd1.zip
Patch from Kai Krüger for the new SAM system
(This used to be commit 771878a2d94009b6eccef5f98d4e782cd85c291e)
-rw-r--r--source3/include/sam.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/source3/include/sam.h b/source3/include/sam.h
index afa7e55c65..c8df95676e 100644
--- a/source3/include/sam.h
+++ b/source3/include/sam.h
@@ -259,13 +259,20 @@ typedef struct sam_methods
void (*free_private_data)(void **);
} SAM_METHODS;
-typedef NTSTATUS (*sam_init_function)(const SAM_CONTEXT *, SAM_METHODS **, const char *);
+typedef NTSTATUS (*sam_init_function)(const SAM_CONTEXT *, SAM_METHODS **, const DOM_SID *domain, const char *);
struct sam_init_function_entry {
- char *name;
+ char *module_name;
/* Function to create a member of the sam_methods list */
sam_init_function init;
};
+typedef struct sam_backend_entry {
+ char *module_name;
+ char *module_params;
+ char *domain_name;
+ DOM_SID *domain_sid;
+} SAM_BACKEND_ENTRY;
+
#endif /* _SAM_H */