Public bug reported:
Binary package hint: libapache2-mod-auth-mysql
When trying to use mod_auth_mysql_stack, the following error appears in the
apache /var/log/apache2/error.log:
*** stack smashing detected ***: /usr/sbin/apache2 terminated
[Mon Sep 24 21:29:39 2007] [notice] child pid 11130 exit signal Aborted (6)
This error occurs whenever someone goes to that path
Given that mod_auth_mysql is in use at many sites, I'm assuming that
this is due to an incorrect configuration on my part, that said, the
stack smashing detection is going off for a reason, and a
misconfiguration by a user shouldn't result in this error.
The configuration looks something like this (with obvious changes to protect
passwords, etc)
<Directory /var/local/test>
Order deny,allow
Allow from all
AuthName "Test"
AuthType Basic
AuthBasicAuthoritative off
require valid-user
Auth_MySQL on
Auth_MySQL_Host localhost
AuthMySQL_User apache
AuthMySQL_Password secret
AuthMySQL_Encryption_Types MySQL
Auth_MySQL_DB mydatabase
AuthUserFile /dev/null
</Directory>
The SQL database table looks something like this:
select * from mysql_auth;
+----------+------------------+--------+
| username | passwd | groups |
+----------+------------------+--------+
| zaf | 4b5698aa4603595b | |
+----------+------------------+--------+
Versions:
ii apache2 2.2.3-3.2ubuntu0.1
ii libapache2-mod-auth-my 4.3.9-2.1ubuntu2
ii mysql-server 5.0.38-0ubuntu1
** Affects: libapache-mod-auth-mysql (Ubuntu)
Importance: Undecided
Status: New
--
mod_auth_mysql stack smashing
https://bugs.launchpad.net/bugs/144393
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs