Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old May 29th, 2001, 12:52 AM
Greg Bryant Greg Bryant is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Wellington
Posts: 14 Greg Bryant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question 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.

Reply With Quote
  #2  
Old May 31st, 2001, 06:05 PM
Greg Bryant Greg Bryant is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Wellington
Posts: 14 Greg Bryant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Turns out i needed to add Satisfy any to my vhost configuration and the problem with my Crypt_DES was that i had accidently inserted line returns into the passwd field of my http_auth.users table.

Alls good now.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Encrypt_DES and Solaris 2.8


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway