diff src/auth/userdb-nss.c @ 8513:0691f5294bb9 HEAD

Fail if trying to give unknown parameters to passdb/userdb. Also changed error messages to be consistent.
author Timo Sirainen <tss@iki.fi>
date Tue, 02 Dec 2008 19:24:57 +0200
parents c47b78e843aa
children b9faf4db2a9f
line wrap: on
line diff
--- a/src/auth/userdb-nss.c	Tue Dec 02 19:11:49 2008 +0200
+++ b/src/auth/userdb-nss.c	Tue Dec 02 19:24:57 2008 +0200
@@ -116,7 +116,7 @@
 		else if (strncmp(*tmp, "service=", 8) == 0)
 			module->nss_module.name = p_strdup(pool, *tmp + 8);
 		else
-			i_fatal("userdb nss: Unknown parameter: %s", *tmp);
+			i_fatal("userdb nss: Unknown setting: %s", *tmp);
 	}
 
 	if (module->nss_module.name == NULL)