summaryrefslogtreecommitdiffstats
path: root/source
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
commit897125a9dbbd3f921d944e7bb7c5694a130c5173 (patch)
tree9daee748cda1df2b4b8852b0d81ab3f0d616f8aa /source
parent22f083b227a6f03ae42b985e45e9c384982c6ed2 (diff)
downloadsamba-897125a9dbbd3f921d944e7bb7c5694a130c5173.tar.gz
samba-897125a9dbbd3f921d944e7bb7c5694a130c5173.tar.xz
samba-897125a9dbbd3f921d944e7bb7c5694a130c5173.zip
Fix bug #136. Add message about erroneous empty "passdb backend" parameter.
Diffstat (limited to 'source')
-rw-r--r--source/utils/testparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/utils/testparm.c b/source/utils/testparm.c
index e3d6ce02748..16918ecd4ae 100644
--- a/source/utils/testparm.c
+++ b/source/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;
}