From 480918598b5123922f4deca301a9cf98d7e12d02 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Fri, 20 Jun 2003 17:41:04 +0000 Subject: Fix bug #136. Add message about erroneous empty "passdb backend" parameter. (This used to be commit 897125a9dbbd3f921d944e7bb7c5694a130c5173) --- source3/utils/testparm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index e3d6ce0274..16918ecd4a 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -183,6 +183,10 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_ } #endif + if (!lp_passdb_backend()) { + printf("ERROR: passdb backend must have a value or be left out\n"); + } + return ret; } -- cgit