diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2002-09-08 15:25:22 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2002-09-08 15:25:22 +0000 |
commit | 771878a2d94009b6eccef5f98d4e782cd85c291e (patch) | |
tree | cc8fc966a75c2c1047998e8a23137a5e80838dd3 | |
parent | 56cb03bfc68727384df46bde6df03950f7cdfcf9 (diff) | |
download | samba-771878a2d94009b6eccef5f98d4e782cd85c291e.tar.gz samba-771878a2d94009b6eccef5f98d4e782cd85c291e.tar.xz samba-771878a2d94009b6eccef5f98d4e782cd85c291e.zip |
Patch from Kai Krüger for the new SAM system
-rw-r--r-- | source/include/sam.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/source/include/sam.h b/source/include/sam.h index afa7e55c659..c8df95676e8 100644 --- a/source/include/sam.h +++ b/source/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 */ |