Fix bug #136. Add message about erroneous empty "passdb backend" parameter.
authorJim McDonough <jmcd@samba.org>
Fri, 20 Jun 2003 17:41:04 +0000 (17:41 +0000)
committerJim McDonough <jmcd@samba.org>
Fri, 20 Jun 2003 17:41:04 +0000 (17:41 +0000)
source/utils/testparm.c

index e3d6ce02748d7a754a20bfc30edf5f79e3d60165..16918ecd4ae41a2cd24717391e0e34a19e1a43b2 100644 (file)
@@ -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;
 }