summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-06-20 17:41:04 +0000
committerJim McDonough <jmcd@samba.org>2003-06-20 17:41:04 +0000
commit480918598b5123922f4deca301a9cf98d7e12d02 (patch)
treeda73715ba938e6eaacbab344a8c78643f3d21607
parent187ef2eb2a4f13b46df788f2e6ed18da3d5d5523 (diff)
downloadsamba-480918598b5123922f4deca301a9cf98d7e12d02.tar.gz
samba-480918598b5123922f4deca301a9cf98d7e12d02.tar.bz2
samba-480918598b5123922f4deca301a9cf98d7e12d02.zip
Fix bug #136. Add message about erroneous empty "passdb backend" parameter.
(This used to be commit 897125a9dbbd3f921d944e7bb7c5694a130c5173)
-rw-r--r--source3/utils/testparm.c4
1 files changed, 4 insertions, 0 deletions
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;
}