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/torture/samtest.h | |
parent | 28947d6cd12040de37e3dfb29eeb1163cc429f32 (diff) | |
download | samba-2cd64003e3b127ca5a204b801155fcb4a7447a48.tar.gz samba-2cd64003e3b127ca5a204b801155fcb4a7447a48.tar.bz2 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/torture/samtest.h')
-rw-r--r-- | source3/torture/samtest.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/torture/samtest.h b/source3/torture/samtest.h index 2a8516cfc3..a136ab191e 100644 --- a/source3/torture/samtest.h +++ b/source3/torture/samtest.h @@ -22,10 +22,17 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +struct samtest_state { + SAM_CONTEXT *context; + NT_USER_TOKEN *token; +}; + struct cmd_set { char *name; - NTSTATUS (*fn)(struct sam_context *sam, TALLOC_CTX *mem_ctx, int argc, + NTSTATUS (*fn)(struct samtest_state *sam, TALLOC_CTX *mem_ctx, int argc, char **argv); char *description; char *usage; }; + + |