From a8d398edf0ce08b2a53342e80c2017f1805908d5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 27 Sep 2006 03:29:38 +0000 Subject: [PATCH] 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' --- source/groupdb/mapping_ldb.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/groupdb/mapping_ldb.c b/source/groupdb/mapping_ldb.c index fd59e0f4384..1b0053da47f 100644 --- a/source/groupdb/mapping_ldb.c +++ b/source/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; } -- 2.11.4.GIT