I have encountered the same bug as described above.

However I have also accidently encountered that the stack smashing only seems 
to occur when
the option "AuthMySQL_Encryption_Types" contains the method "MySQL".

When using "Plaintext" or "PHP_MD5"
libapache2-mod-auth-mysql 4.3.9-4 from gutsy works fine here.

Here is a short overview of what currently works for me in an apache
site-config file:

<Directory /some/dir/>
  AuthName "Auth-MySQL Test"
  AuthType Basic
  AuthUserFile /dev/null
  AuthBasicAuthoritative Off

  AuthMySQL On
  AuthMySQL_Authoritative On
  AuthMySQL_Host localhost
  AuthMySQL_User <db_user>
  AuthMySQL_Password <db_password>
  AuthMySQL_DB <mysql_db>
  AuthMySQL_Password_Table mysql_auth # I have used the defaults but explicitly 
mention them here in the config file
  AuthMySQL_Username_Field username
  AuthMySQL_Password_Field password
#  AuthMySQL_Encryption_Types MySQL # this will crash apache with "*** stack 
smashing detected ***" in error.log
#  AuthMySQL_EncryptionTypes Plaintext # works okay here
  AuthMySQL_Encryption_Types PHP_MD5 # works okay here
</Directory>

I have not done extensive testing on the issue and I have not tested
other encryption types or combinations thereof.

Maybe this is of help to someone.

-- 
gutsy does not have a working apache+mysql authentication solution
https://bugs.launchpad.net/bugs/150649
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to