
May 29th, 2001, 12:52 AM
|
|
Junior Member
|
|
Join Date: Feb 2001
Location: Wellington
Posts: 14
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Encrypt_DES and Solaris 2.8
hi,
I've been using Auth_MySQL_Encryption_Types MySQL Encrypt_DES on our developement server running on Solaris 2.7 and its working fine.
In our http_auth database i have inserted the usernames and passwords straight from the /etc/shadow file.
Then last night i did the same setup on the production webserver runnng Solaris 2.8, but the web server now only lets me in if my password is encrypted using mysql's PASSWORD() function, not if it was inserted from the /etc/shadow file.
I've been using a copy of the same /etc/shadow file on both machines previously (using AuthUserFile) so does anyone know what the problem might be, solaris 2.8, apache 1.3.14, mysql 3.23.20g, auth_mysql 2.20??
I'll have another crack at it now anyway, but suggestions would be great.
My configuration looks like this:
Code:
Auth_MySQL_Info host user passwd
Auth_MySQL_General_DB http_auth
...
<VirtualHost 123.456.789.123>
...
<Location />
Options IncludesNOEXEC
AllowOverride FileInfo
Deny from all
Authname "Realm name"
AuthType Basic
Auth_MySQL_Password_Table users
Auth_MySQL_Group_Table groups
Auth_MySQL_Empty_Passwords off
Auth_MySQL_Encryption_Types MySQL Crypt_DES
Require group enz tnz
</Location>
...
</VirtualHost>
Last edited by Greg Bryant : May 31st, 2001 at 06:06 PM.
|