1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-18 00:23:50 +03:00

r9685: Add tests for samba3sam mapping module

Fix a couple of bugs
Move samba3sam backend to lib/ldb/
Remove some more unused parameters
This commit is contained in:
Jelmer Vernooij
2005-08-27 15:13:15 +00:00
committed by Gerald (Jerry) Carter
parent 4a51a31571
commit 7f864d446d
9 changed files with 242 additions and 146 deletions

View File

@@ -124,13 +124,14 @@ struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const
case 'o':
options.options = talloc_realloc(ret, options.options,
const char *, num_options+2);
const char *, num_options+3);
if (options.options == NULL) {
ldb_oom(ldb);
goto failed;
}
options.options[num_options++] = poptGetOptArg(pc);
options.options[num_options] = poptGetOptArg(pc);
options.options[num_options+1] = NULL;
num_options++;
break;
default: