[prev in list] [next in list] [prev in thread] [next in thread]
List: proftpd-committers
Subject: [ProFTPD-committers] CVS: proftpd/contrib mod_sql_sqlite.c, 1.19,
From: "TJ Saunders" <castaglia () users ! sourceforge ! net>
Date: 2010-09-29 18:13:14
Message-ID: E1P119W-0001oa-6J () sfp-cvsdas-2 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/proftp/proftpd/contrib
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv6948/contrib
Modified Files:
mod_sql_sqlite.c
Log Message:
Bug#3511 - SQLAuthType Backend not properly rejected by mod_sql_sqlite.
Index: mod_sql_sqlite.c
===================================================================
RCS file: /cvsroot/proftp/proftpd/contrib/mod_sql_sqlite.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- mod_sql_sqlite.c 23 Jun 2010 14:29:50 -0000 1.19
+++ mod_sql_sqlite.c 29 Sep 2010 18:13:12 -0000 1.20
@@ -971,12 +971,13 @@
return PR_ERROR_MSG(cmd, MOD_SQL_SQLITE_VERSION, "badly formed request");
}
- /* This mod_sql backend doesn't support any database-specific password
- * checking mechanisms.
- */
-
+ sql_log(DEBUG_WARN, MOD_SQL_SQLITE_VERSION
+ ": SQLite does not support the 'Backend' SQLAuthType");
sql_log(DEBUG_FUNC, "%s", "exiting \tsqlite cmd_checkauth");
- return PR_DECLINED(cmd);
+
+ /* SQLite doesn't provide this functionality. */
+ return PR_ERROR_MSG(cmd, MOD_SQL_SQLITE_VERSION,
+ "SQLite does not support the 'Backend' SQLAuthType");
}
MODRET sql_sqlite_identify(cmd_rec * cmd) {
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
ProFTPD Committers Mailing List
proftpd-committers@proftpd.org
https://lists.sourceforge.net/lists/listinfo/proftp-committers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic