From afbc8a1faa63eadbd99fb4b5ff262b1df80d13dc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 27 Sep 2006 03:29:38 +0000 Subject: r18938: fixed a group map bug reported by Jerry. The caller in mapping.c relies on appending to this list. Unfortunately this can't be tested using 'net groupmap' (This used to be commit a8d398edf0ce08b2a53342e80c2017f1805908d5) --- source3/groupdb/mapping_ldb.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3') diff --git a/source3/groupdb/mapping_ldb.c b/source3/groupdb/mapping_ldb.c index fd59e0f438..1b0053da47 100644 --- a/source3/groupdb/mapping_ldb.c +++ b/source3/groupdb/mapping_ldb.c @@ -389,14 +389,11 @@ failed: struct ldb_result *res=NULL; fstring string_sid; NTSTATUS status = NT_STATUS_INTERNAL_DB_CORRUPTION; - + if (!init_group_mapping()) { return NT_STATUS_ACCESS_DENIED; } - *sids = NULL; - *num = 0; - if (!sid_to_string(string_sid, member)) { return NT_STATUS_INVALID_PARAMETER; } -- cgit