winbindd/idmap_rfc2307: fix a crash
commit5e346af078847512e86755a4634583a8a5178c0e
authorRalph Boehme <slow@samba.org>
Fri, 24 Jun 2016 16:31:45 +0000 (24 18:31 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 28 Jun 2016 05:27:18 +0000 (28 07:27 +0200)
tree48c62681ca098651ebe3eca2a0516fbc31ebe9e9
parenta8c737fc93a8c4ccc5999cb52344945be750cef5
winbindd/idmap_rfc2307: fix a crash

map->map is NULL if lookupsid failed.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11961

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/idmap_rfc2307.c