s3-winbind: DON'T PANIC if we couldn't find the domain.
commit08f6bde5595e13a9872df03a18e0d5d3481ba186
authorAndreas Schneider <asn@samba.org>
Tue, 4 Sep 2012 12:30:38 +0000 (4 14:30 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 13 Sep 2012 09:19:50 +0000 (13 11:19 +0200)
tree6db5c027e892228d149dfc7378e7dbe34c87bf32
parentc7ad604aa5528b7f4697afde079691636266ac90
s3-winbind: DON'T PANIC if we couldn't find the domain.

If we don't have a connection to a trusted domain but still try to do a
lookup we shouldn't segfault.

Signed-off-by: Andreas Schneider <asn@samba.org>
Fix bug #9135 - Don't segfault if we don't find a domain in
resolve_username_to_alias()/fill_grent() .
(cherry picked from commit 7ec71c28e9153164d222966a3753333f1804c8c7)
source3/winbindd/winbindd_group.c