diff options
author | Jim McDonough <jmcd@samba.org> | 2005-03-22 20:50:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:13 -0500 |
commit | cf7d098b2c1032b51b8f5d439b29c8d20d0991ee (patch) | |
tree | 4f6f35536b5ae5da595e5c4fde9a5ebf454b1dfc /source3/include | |
parent | 93e04e941e15034c8e7aa1faedc74ce536049153 (diff) | |
download | samba-cf7d098b2c1032b51b8f5d439b29c8d20d0991ee.tar.gz samba-cf7d098b2c1032b51b8f5d439b29c8d20d0991ee.tar.bz2 samba-cf7d098b2c1032b51b8f5d439b29c8d20d0991ee.zip |
r5965: Apply Volker's patch for "ldapsam trusted = yes" for samr_lookup_rids. Gives us
again up to ~6x improvement on group membership lookups.
(This used to be commit e2117bcb09cbd21df3b6621c2794a006418c1d9e)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/passdb.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h index 5a70bb45a8..ca65a4e5e8 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -342,6 +342,14 @@ typedef struct pdb_context DOM_SID **aliases, int *num_aliases); + NTSTATUS (*pdb_lookup_rids)(struct pdb_context *context, + TALLOC_CTX *mem_ctx, + const DOM_SID *domain_sid, + int num_rids, + uint32 *rids, + const char ***names, + uint32 **attrs); + void (*free_fn)(struct pdb_context **); TALLOC_CTX *mem_ctx; @@ -440,6 +448,13 @@ typedef struct pdb_methods const DOM_SID *members, int num_members, DOM_SID **aliases, int *num); + NTSTATUS (*lookup_rids)(struct pdb_methods *methods, + TALLOC_CTX *mem_ctx, + const DOM_SID *domain_sid, + int num_rids, + uint32 *rids, + const char ***names, + uint32 **attrs); void *private_data; /* Private data of some kind */ |