Web Servers on Unix and Linux - Apache-AuthzNIS-0.1 problem

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > September 2004 > Apache-AuthzNIS-0.1 problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache-AuthzNIS-0.1 problem
dharmin

2004-09-02, 8:47 pm

Hi

I am running Apache 2.0.50 with PERL 5.8.4 , Apache-AuthzNIS-0.11 ,
Apache-AuthenNIS-0.13 , Net-NIS-0.34 , NIS-a2 and mod_perl/1.99_14.

The User NIS authentication works fine but the Group NIS
authentication does not work.

if I use a groupname that does not exist in NIS group file say XXX in
"require group XXX" , then in apache error_log shows as .....
error_log :[Fri Aug 13 11:11:28 2004] [error] Apache::AuthzNIS -
group: XXX: yp_match status 5, no such key in map/

Now if the user group exists in NIS group file but the user is not in
the NIS group file , it allows the user to authenticate, looks like
Apache-AuthzNIS does not check if the user exists in that group , only
checks that the group exists.

Thats the .htaccess file :-
AuthName "Server"
AuthType Basic
PerlAuthenHandler Apache::AuthenNIS
PerlAuthzHandler Apache::AuthzNIS
require valid-user
require group <group_id>


What should I need to to do so that it checks the users in NIS group
file. i.e , if the user exists in a perticular NIS group file then
allow , else not.

Any help/feeddback would be appreciated.

Many Thanks.

regards
Dharmin
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com