Author: tridge
Date: 2006-09-27 03:29:38 +0000 (Wed, 27 Sep 2006)
New Revision: 18938

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18938

Log:

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'

Modified:
   branches/SAMBA_3_0/source/groupdb/mapping_ldb.c


Changeset:
Modified: branches/SAMBA_3_0/source/groupdb/mapping_ldb.c
===================================================================
--- branches/SAMBA_3_0/source/groupdb/mapping_ldb.c     2006-09-27 02:26:03 UTC 
(rev 18937)
+++ branches/SAMBA_3_0/source/groupdb/mapping_ldb.c     2006-09-27 03:29:38 UTC 
(rev 18938)
@@ -389,14 +389,11 @@
        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;
        }

Reply via email to