diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2002-09-24 20:18:39 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2002-09-24 20:18:39 +0000 |
commit | 2cd64003e3b127ca5a204b801155fcb4a7447a48 (patch) | |
tree | da3a9ee54c445fdb3c8ebf79bb925de118d49a4b /source3/include/sam.h | |
parent | 28947d6cd12040de37e3dfb29eeb1163cc429f32 (diff) | |
download | samba-2cd64003e3b127ca5a204b801155fcb4a7447a48.tar.gz samba-2cd64003e3b127ca5a204b801155fcb4a7447a48.tar.xz samba-2cd64003e3b127ca5a204b801155fcb4a7447a48.zip |
- Don't put pointer to sam_domain_handle in sam_methods but single domainsid and domainname
- Allocate sam_methods, set domain_sid, domain_name and backend_name in make_sam_methods_backend_entry instead of in the backend
- Remove sam_context and domain_sid pointers from the sam_init_function - we don't need those arguments anymore since they're
available in sam_methods as well
(This used to be commit 50d2527eed0eb26c16f2f7e28badbf08d771380e)
Diffstat (limited to 'source3/include/sam.h')
-rw-r--r-- | source3/include/sam.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/sam.h b/source3/include/sam.h index ca1a84fd97..4d18ec61b9 100644 --- a/source3/include/sam.h +++ b/source3/include/sam.h @@ -216,7 +216,8 @@ typedef struct sam_methods struct sam_methods *next; struct sam_methods *prev; const char *backendname; - struct sam_domain_handle *domain; + const char *domain_name; + DOM_SID domain_sid; void *private_data; /* General API */ @@ -262,7 +263,7 @@ typedef struct sam_methods void (*free_private_data)(void **); } SAM_METHODS; -typedef NTSTATUS (*sam_init_function)(const SAM_CONTEXT *, SAM_METHODS **, const DOM_SID *domain, const char *); +typedef NTSTATUS (*sam_init_function)(SAM_METHODS *, const char *); struct sam_init_function_entry { char *module_name; |