[dovecot-cvs] dovecot/src/auth passdb.c, 1.38, 1.39 userdb.c, 1.23,
1.24
cras at dovecot.org
cras at dovecot.org
Wed Dec 14 19:45:08 EET 2005
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv28936
Modified Files:
passdb.c userdb.c
Log Message:
Give a few helpul suggestions with "Unknown passdb/usedb driver" errors.
Index: passdb.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- passdb.c 16 Oct 2005 14:06:59 -0000 1.38
+++ passdb.c 14 Dec 2005 17:45:06 -0000 1.39
@@ -154,8 +154,12 @@
}
#endif
- if (iface == NULL)
- i_fatal("Unknown passdb driver '%s'", driver);
+ if (iface == NULL) {
+ i_fatal("Unknown passdb driver '%s' "
+ "(typo, or Dovecot was built without support for it? "
+ "Check with dovecot --build-options)",
+ driver);
+ }
if (iface->preinit == NULL) {
auth_passdb->passdb =
Index: userdb.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/userdb.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- userdb.c 19 Oct 2005 13:38:36 -0000 1.23
+++ userdb.c 14 Dec 2005 17:45:06 -0000 1.24
@@ -116,8 +116,12 @@
}
#endif
- if (iface == NULL)
- i_fatal("Unknown userdb driver '%s'", driver);
+ if (iface == NULL) {
+ i_fatal("Unknown userdb driver '%s' "
+ "(typo, or Dovecot was built without support for it? "
+ "Check with dovecot --build-options)",
+ driver);
+ }
if (iface->preinit == NULL) {
auth_userdb->userdb =
More information about the dovecot-cvs
mailing list