[users@httpd] Mod_auth_radius

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm using mod_auth_radius with Apache 2.2.2 to protect a directory. Here's
the entries from the log file:

[Thu May 11 15:32:43 2006] [debug] mod_auth_radius-2.0.c(1154): Radius Auth
for: servername requests /path-to-protected-directory/ :
file=/full-path-to-protected-directory/
[Thu May 11 15:32:43 2006] [debug] mod_auth_radius-2.0.c(1185):  No cookie
found.  Trying RADIUS authentication.\n
[Thu May 11 15:32:43 2006] [debug] mod_auth_radius-2.0.c(894): Sending
packet on radius-server
[Thu May 11 15:32:43 2006] [debug] mod_auth_radius-2.0.c(1223):  RADIUS
Authentication for user=my-user-name password=my-password OK.  Cookie expiry
in 60 minutes\n
[Thu May 11 15:32:43 2006] [debug] mod_auth_radius-2.0.c(1225):  Adding
cookie bad0609dc93dcae84e4316263abb792a44639f6b\n
[Thu May 11 15:32:43 2006] [crit] [client my-ip-address] configuration
error:  couldn't check access.  No groups file?:
/path-to-protected-directory/

Looking at the "[debug]" messages above, it looks like the radius
authentication worked fine, and my username was authenticated, and it told
apache to server the page. However, from the "[crit]" message, apache thinks
that mod_auth_radius didn't work right.

Other things on the server, protected with "regular" password files, work
fine, and if you enter the wrong username and password on those, you get my
custom error page for a 401 error. With the mod_auth_radius protected
directory, it just returns a 500 (server error). From that, I assume that
apache is NOT thinking mod_auth_radius said "no, the person is not
authorized"; if it had done that, it would have returned the 401 page.
Instead, it seems to be that when mod_auth_radius is finished, apache fails
in some other way.

A huge thanks, and maybe some beer*, if anyone can give me a clue to what's
going on.

Thanks!

* The University probably won't let me buy anyone beer; but the huge thanks
is guaranteed.

---
Mike VanHorn
Senior Computer Systems Administrator 
College of Engineering and Computer Science
Wright State University
265 Russ Engineering Center
937-775-5157
michael.vanhorn@xxxxxxxxxx
http://www.cs.wright.edu/~mvanhorn/




---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux