You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@worldgate.com> on 1997/08/13 17:09:46 UTC

Apache 1.3a1 Authentification (re) (fwd)

The NT port still doesn't have a real crypt for mod_auth, does it?  This
is another thing that really should be fixed or documented.  

But it _should_ work for now just to put the unencrypted password in the
.htpasswd, right?

---------- Forwarded message ----------
Date: Wed, 13 Aug 1997 09:07:55 -0600 (MDT)
From: Marc Slemko <ma...@znep.com>
To: marcs@valis.worldgate.com
Subject: Apache 1.3a1 Authentification (re)


>Path: scanner.worldgate.com!news.agtac.net!rover.ucs.ualberta.ca!aurora.cs.athabascau.ca!ve7tcp.ampr.org!news.mag-net.com!news.bctel.net!newsfeed.direct.ca!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!howland.erols.net!news.apfel.de!univ-lyon1.fr!jussieu.fr!news.edf.fr!not-for-mail
>From: Laurent LUCIANI <la...@cln46ac.der.edf.fr>
>Newsgroups: comp.infosystems.www.servers.unix
>Subject: Apache 1.3a1 Authentification (re)
>Date: Wed, 13 Aug 1997 11:31:29 +0100
>Organization: Direction des Etudes et Recherches EDF
>Lines: 52
>Message-ID: <33...@cln46ac.der.edf.fr>
>NNTP-Posting-Host: cln46ac.der.edf.fr
>Mime-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m)
>Xref: scanner.worldgate.com comp.infosystems.www.servers.unix:31969

Hello,
I have a question about Apache 1.3a1 and htpasswd programs. 
I try to protect a directory of my web server on NT (4.0 Workstation)
and I use the unix version of htpasswd to create the password.

In the access file, I have :
<directory /*>
AuthType Basic
AuthName Enter_Passwd
AuthUserFile /web/users
require valid-user
</directory>

And I place the copy of the .htpasswd (result of the htpasswd unix
version) under /web/users on the PC.

I use the htpasswd program like this :
htpasswd -c .htpasswd martin
New passwd:hampster
Re-type new password:hampster

And the .htpasswd looks like :
martin:zoAeQjK5SC2Fs

But when i try to connect with martin and hampster, the serveur return
an error.

In the error log file : 
Password mismatsh


What can I do ? Do i need to use a NT version of htpasswd (Do i have to
compile it, I try yet but without result), or.....it 's a bug  ?

Thanks for any help
-- 


	Laurent Luciani

Ps : Sorry for my poor english	
  
========================================================================
   DECYLOG / Electricite De France             
   Direction Etudes et Recherches
   1 Av General de Gaulle           	
   92141 Clamart CEDEX   FRANCE     
   fax :    (1)47.65.50.07
   tel :    01.47.65.46.16
   E-mail : laurent@cln46fw.der.edf.fr
  
========================================================================


Re: Apache 1.3a1 Authentification (re) (fwd)

Posted by Ben Laurie <be...@algroup.co.uk>.
Marc Slemko wrote:
> 
> The NT port still doesn't have a real crypt for mod_auth, does it?  This
> is another thing that really should be fixed or documented.
> 
> But it _should_ work for now just to put the unencrypted password in the
> .htpasswd, right?

Right.

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 994 6435|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 994 6472|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache