summaryrefslogtreecommitdiff
path: root/source3/groupdb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/groupdb')
-rw-r--r--source3/groupdb/mapping_ldb.c5
1 files changed, 1 insertions, 4 deletions
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;
}