Package: libapache2-mod-auth-mysql
Version: 4.3.9-13
Severity: important
Hi,
i do use libapache2-mod-auth-mysql for authentication users on a webserver.
Currently I'm in the
progress of migrating the configuration to Debian Squeeze. My auth-mysql
configuration looks like
follows:
<Directory /path/to/somewhere/>
AuthName 'restricted'
AuthBasicAuthoritative Off
AuthType Basic
Auth_MySQL on
Auth_MySQL_Host localhost
Auth_MySQL_User username
Auth_MySQL_Password somegoodpassword
Auth_MySQL_DB dbname
Auth_MySQL_Password_Table users
Auth_MySQL_Username_Field username
Auth_MySQL_Password_Field password
Auth_MySQL_Encrypted_Passwords on
Auth_MySQL_Encryption_Types Crypt
Auth_MySQL_Where_Clause "customer='bla' AND type='admin'"
</Directory>
apache2ctl configtest tells me:
Syntax error on line 34 of /etc/apache2/sites-enabled/000-default
Invalid command 'Auth_MySQL_Where_Clause', perhaps misspelled or defined by a
module not included in the server configuration
Well this "invalid command" *is* documented *and* found in:
/usr/share/doc/libapache2-mod-auth-mysql/DIRECTIVES.gz
Auth_MySQL_Where_Clause <SQL fragment>
Synonym for Auth_MySQL_Password_Clause.
So this makes this packages unuseable for me and i have to install
mod_auth_mysql-3.0.0 from source. Then the following directives
work like a charm:
AuthMySQLEnable On
AuthMySQLHost localhost
AuthMySQLUser username
AuthMySQLPassword password
AuthMySQLDB dbadmin
AuthMySQLUserTable users
AuthMySQLNameField username
AuthMySQLPasswordField password
AuthMySQLPwEncryption crypt
AuthMySQLUserCondition "customer='bla' AND type='admin'"
Bye,
Werner Detter
-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libapache2-mod-auth-mysql depends on:
ii apache2.2-common 2.2.16-6+squeeze1 Apache HTTP Server common files
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libmysqlclient16 5.1.49-3 MySQL database client library
libapache2-mod-auth-mysql recommends no packages.
libapache2-mod-auth-mysql suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]