summaryrefslogtreecommitdiff
path: root/source3/include/passdb.h
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-11-26 22:04:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:36 -0500
commit046a8873b9001662eff7bbdf549d2a511216c092 (patch)
treeb254d6ecf8b3266cc964bb66f45ea3cb05a2f8cd /source3/include/passdb.h
parentfcf14ebee21378064187dd4389c01d8eaea3ca2a (diff)
downloadsamba-046a8873b9001662eff7bbdf549d2a511216c092.tar.gz
samba-046a8873b9001662eff7bbdf549d2a511216c092.tar.bz2
samba-046a8873b9001662eff7bbdf549d2a511216c092.zip
r11922: Looks bigger than it is: There's no point in allocating arrays in
samr_lookup_rids twice. It was done in the srv_samr_nt.c code as well as in the pdb module. Remove the latter, this might happen more often. Volker (This used to be commit 57f0cf8cdd6928f4759036e5dd53d41736aa910d)
Diffstat (limited to 'source3/include/passdb.h')
-rw-r--r--source3/include/passdb.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index 293d18a42a..15f0701e9b 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -367,12 +367,11 @@ typedef struct pdb_context
size_t *p_num_alias_rids);
NTSTATUS (*pdb_lookup_rids)(struct pdb_context *context,
- TALLOC_CTX *mem_ctx,
const DOM_SID *domain_sid,
size_t num_rids,
uint32 *rids,
- const char ***pp_names,
- uint32 **attrs);
+ const char **pp_names,
+ uint32 *attrs);
NTSTATUS (*pdb_get_account_policy)(struct pdb_context *context,
int policy_index, uint32 *value);
@@ -491,12 +490,11 @@ typedef struct pdb_methods
size_t *p_num_alias_rids);
NTSTATUS (*lookup_rids)(struct pdb_methods *methods,
- TALLOC_CTX *mem_ctx,
const DOM_SID *domain_sid,
int num_rids,
uint32 *rids,
- const char ***pp_names,
- uint32 **attrs);
+ const char **pp_names,
+ uint32 *attrs);
NTSTATUS (*get_account_policy)(struct pdb_methods *methods,
int policy_index, uint32 *value);