Bug#224259: apache: user not found in Basic authentication
Hi Fabio,
my current modules.conf:
LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
LoadModule access_module /usr/lib/apache/1.3/mod_access.so
LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
LoadModule php4_module /usr/src/php-4.3.2/libs/libphp4.so
Shall be any of these modules removed? Is there other places to
allow/disallow modules?
>
> Hi Garamszegi,
> this is mostlikely an error in your configuration. Please
> use modules-config and remove all the auth modules that you do not need
> and leave only mod_auth. This should make it working. Let me know asap if
> it does or not.
>
> Thanks
> Fabio
>
>
> On Wed, 17 Dec 2003, Garamszegi Karoly wrote:
>
>> Package: apache
>> Version: 1.3.29.0.1-1
>> Severity: important
>>
>>
>> Hello,
>>
>> I have encountered the following problem: I set up Basic authentication
>> in access.conf:
>>
>> <Directory /var/www/zeon/dev/admin>
>> AuthType Basic
>> AuthName "Passwor Required"
>> AuthUserFile /etc/apache/pwd
>> Require valid-user
>>
>> </Directory>
>>
>> /etc/apache/pwd contains:
>>
>> addmin:J/HrQ7c/b6bNQ
>> jerry:jerry
>>
>> Symptom: the browser pops up the authentication window, I enter the
>> details, but after a few tries I got an Authorization required.
>>
>> In the logs:
>>
>> [Wed Dec 17 13:43:26 2003] [error] user jerry not found: /dev/admin
>> [Wed Dec 17 13:43:27 2003] [error] user jerry not found: /dev/admin
>> [Wed Dec 17 13:43:27 2003] [error] user jerry not found: /dev/admin
>>
>>
>> Apache does not complain, if the /etc/apache/pwd file is missing, and
>> according to strace, it does not even touch it.
>>
>>
>>
>> -- System Information:
>> Debian Release: testing/unstable
>> Architecture: i386
>> Kernel: Linux glas 2.4.23 #1 Tue Dec 2 08:46:20 CET 2003 i686
>> Locale: LANG=C, LC_CTYPE=C
>>
>> Versions of packages apache depends on:
>> ii apache-common 1.3.29.0.1-1 Support files for all
>> Apache webse
>> ii debconf 1.3.22 Debian configuration
>> management sy
>> ii dpkg 1.10.18 Package maintenance system
>> for Deb
>> ii libc6 2.3.2.ds1-10 GNU C Library: Shared
>> libraries an
>> ii libdb4.1 4.1.25-10 Berkeley v4.1 Database
>> Libraries [
>> ii libexpat1 1.95.6-6 XML parsing C library -
>> runtime li
>> ii libmagic1 4.06-2 File type determination
>> library us
>> ii libpam0g 0.76-14 Pluggable Authentication
>> Modules l
>> ii logrotate 3.6.5-2 Log rotation utility
>> ii mime-support 3.23-1 MIME files 'mime.types' &
>> 'mailcap
>> ii perl [perl5] 5.8.2-2 Larry Wall's Practical
>> Extraction
>>
>> -- debconf information excluded
>>
>>
>>
>>
>
> --
> Our mission: make IPv6 the default IP protocol
> "We are on a mission from God" - Elwood Blues
>
> http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp00004.html
>
--
** Garamszegi Károly <> tel.: +36 30 350 34 45
** Zeon InfoTech Kft. <> Postacím: 1399. Budapest, Pf. 701/306
** Tel./Fax: +36 1 3444306 <> email: kgaramszegi@zeon.hu www.zeon.hu
Reply to: