winbind: Don't crash on invalid idmap configs
authorVolker Lendecke <vl@samba.org>
Thu, 19 Nov 2015 16:00:49 +0000 (17:00 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 19 Nov 2015 19:16:44 +0000 (20:16 +0100)
commit7e9aaecec552ca53c50fc0c731419af467f76a00
tree517fc2c1a982b4c6e71b7468fca3bea84b0e7355
parent5036c6e7447b7ad53886c759a7a3f5c29ae57779
winbind: Don't crash on invalid idmap configs

We should not leave NULL in idmap_domains[]. This will lead to NULL
ptr deferences in idmap_find_domain().

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11612
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Nov 19 20:16:44 CET 2015 on sn-devel-104
source3/winbindd/idmap.c