diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-01-24 19:33:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:55:10 -0500 |
commit | d1b7d109fa2b0c4a4b410ecf18b2f457cf90fcf5 (patch) | |
tree | bc5f132f3683db4fdd93e91a4dd3bf657eec9e7e /source3 | |
parent | 5ee21705191a2f74c984b267bbc80259cbd2e68a (diff) | |
download | samba-d1b7d109fa2b0c4a4b410ecf18b2f457cf90fcf5.tar.gz samba-d1b7d109fa2b0c4a4b410ecf18b2f457cf90fcf5.tar.xz samba-d1b7d109fa2b0c4a4b410ecf18b2f457cf90fcf5.zip |
r4967: Not being in any domain local groups is obviously valid...
Volker
(This used to be commit 78975ab9a996ac61be37410f18ddedb9df58d04b)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index 460ce934cb7..3fc62df005f 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -1243,7 +1243,7 @@ static NTSTATUS lookup_useraliases(struct winbindd_domain *domain, (*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++) |