1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

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>
(cherry picked from commit 5e346af078847512e86755a4634583a8a5178c0e)
This commit is contained in:
Ralph Boehme 2016-06-24 18:31:45 +02:00 committed by Karolin Seeger
parent 4594f1cbae
commit 953d3dcf7b

View File

@ -689,9 +689,7 @@ again:
break;
default:
DEBUG(10, ("Nothing to do for SID %s, "
"previous name lookup failed\n",
sid_string_dbg(map->map->sid)));
break;
}
if (!fltr_usr || !fltr_grp) {