[s3]winbindd_group: don't list the domain twice when expanding internal aliases
[ira/wip.git] / source3 / winbindd / winbindd_group.c
index b2bba095371541bb818c0b2aea944e8dbf5f768c..f2b6fbefb502602384bdd5a818e3704f7992dc49 100644 (file)
@@ -140,7 +140,7 @@ static void add_expanded_sid(const DOM_SID *sid,
                        continue;
                }
 
-               add_member(domain->name, names[i], pp_members, p_num_members);
+               add_member(NULL, names[i], pp_members, p_num_members);
        }
 
  done: