From ef115ff3148b1590ca6128ec31975ef20e334f66 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 16 Mar 2006 11:32:01 +0000 Subject: r14468: Better fix to avoid winbind panic when we have an inproper configuration and want to just shutdown and exit. Guenther (This used to be commit 0aa6328ed6ba6d0d24169ffdff0099405c9bfb00) --- source3/nsswitch/winbindd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source3/nsswitch/winbindd.c') diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c index 80cb6990a5..59437f05c2 100644 --- a/source3/nsswitch/winbindd.c +++ b/source3/nsswitch/winbindd.c @@ -1071,7 +1071,10 @@ int main(int argc, char **argv) netsamlogon_cache_init(); /* Non-critical */ - init_domain_list(); + if (!init_domain_list(True)) { + DEBUG(0,("unable to initalize domain list\n")); + exit(1); + } init_idmap_child(); -- cgit