summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-27 03:29:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:48 -0500
commitafbc8a1faa63eadbd99fb4b5ff262b1df80d13dc (patch)
tree6b93d4cc4cc929e1aa30b229460017ee55b0545e
parent6a492e712243fe2bf58d5d5f493630ae937d85df (diff)
downloadsamba-afbc8a1faa63eadbd99fb4b5ff262b1df80d13dc.tar.gz
samba-afbc8a1faa63eadbd99fb4b5ff262b1df80d13dc.tar.bz2
samba-afbc8a1faa63eadbd99fb4b5ff262b1df80d13dc.zip
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)
-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;
}