Apache-AuthzNIS-0.1 problem
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Unix and Linux > Apache-AuthzNIS-0.1 problem




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Apache-AuthzNIS-0.1 problem  
dharmin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-03-04 01:47 AM

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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:56 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register