[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.16.2.1,
From: "TJ Saunders" <castaglia () users ! sourceforge ! net>
Date: 2010-09-29 18:13:31
Message-ID: E1P119n-0001pS-9p () 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-serv7001/contrib
Modified Files:
Tag: B1_3_3
mod_sql_sqlite.c
Log Message:
Backport of fix for Bug#3511 to 1.3.3 branch.
Index: mod_sql_sqlite.c
===================================================================
RCS file: /cvsroot/proftp/proftpd/contrib/mod_sql_sqlite.c,v
retrieving revision 1.16.2.1
retrieving revision 1.16.2.2
diff -u -r1.16.2.1 -r1.16.2.2
--- mod_sql_sqlite.c 23 Jun 2010 14:41:46 -0000 1.16.2.1
+++ mod_sql_sqlite.c 29 Sep 2010 18:13:29 -0000 1.16.2.2
@@ -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