httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <c...@force-elite.com>
Subject Re: [users@httpd] xradius_auth internal server error
Date Wed, 19 Sep 2007 22:30:26 GMT
Add
AuthBasicProvider xradius

To your config.

The error message you got is from mod_authn_file, saying it couldn't
find a htpasswd file (well, it wasn't configured, so not surprising).

In 2.2.x AuthBasicProvider was added, and you need to specify which
module should provide the backend for authentication:
http://httpd.apache.org/docs/2.2/mod/mod_auth_basic.html#authbasicprovider

-Paul

Cornelius Koelbel wrote:
> Dear list,
> 
> I must admin I am a bit confused and desperate.
> 
> I am using ubuntu 7.04, i.e. apache 2.2.
> I'd like to do a radius authentication to use OTP.
> 
> So I downloaded and installed mod_auth_xradius-0.4.6 successfully.
> But I wasn't successful in configuring it.
> 
> Obviously I did't quite get the Authentication stacking of apache.
> 
> I got the following auth_modules laoded:
> auth_basic authn_file auth_xradius authz_default authz_groupfile
> authz_host authz_user
> 
> I loaded the mod_auth_xradius:
> 
> LoadModule auth_xradius_module
> /usr/lib/apache2/modules/mod_auth_xradius.so
> after loading mod_auth_basic.
> 
> I got the configuration of xradius in a directory:
> 
> --snip--
>         <Directory /var/www/site3/>
>                 Options Indexes FollowSymLinks MultiViews
>                 AllowOverride None
>                 Order allow,deny
>                 allow from all
> 
>                  AuthType Basic
>                  AuthName "Please enter your username and WiKID one-time
> passcode for entry to this site."
>                  AuthXRadiusAddServer "localhost:1812" "testing123"
>                  AuthXRadiusTimeout 7
>                  AuthXRadiusRetries 2
>                  require valid-user
> --snip--
> 
> But I always get this internal server error:
> 
> [Wed Sep 19 23:55:29 2007] [error] Internal error: pcfg_openfile()
> called with NULL filename
> [Wed Sep 19 23:55:29 2007] [error] [client 172.16.200.31] (9)Bad file
> descriptor: Could not open password file: (null)
> 
> Please could you put some light on my understanding of the auth thingy?
> 
> Kind regards
> Cornelius


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message