svn commit: samba r4967 - in branches/SAMBA_3_0/source/nsswitch: .

vlendec at samba.org vlendec at samba.org
Mon Jan 24 19:33:20 GMT 2005


Author: vlendec
Date: 2005-01-24 19:33:20 +0000 (Mon, 24 Jan 2005)
New Revision: 4967

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

Log:
Not being in any domain local groups is obviously valid...

Volker

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c	2005-01-24 18:42:33 UTC (rev 4966)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c	2005-01-24 19:33:20 UTC (rev 4967)
@@ -1243,7 +1243,7 @@
 
 	(*alias_rids) = TALLOC_ARRAY(mem_ctx, uint32, *num_aliases);
 
-	if (!(*alias_rids))
+	if ((*num_aliases != 0) && ((*alias_rids) == NULL))
 		return NT_STATUS_NO_MEMORY;
 
 	for (i=0; i<(*num_aliases); i++)



More information about the samba-cvs mailing list