Posted on 2006-09-28 14:56:16-07 by kstype
Authen::Simple::NIS - No username was given

Hello,

Trying to get Apache2 to use NIS authentication and it appears that the modules load but after providing a valid username and password at the "Basic" Apache authentication prompt it does not appect the login and logs:

PerlAuthenHandler Authen::Simple::NIS - No username was given.

to the Apache error_log.

The httpd.conf entries look like this:

PerlModule Authen::Simple::Apache PerlModule Authen::Simple::NIS PerlSetVar AuthenSimpleNIS_domain "VALID NIS DOMAIN" ... OMITTED INFO ... &ltDirectory /opt/www/htdocs&gt PerlAuthenHandler Authen::Simple::NIS AuthType Basic AuthName "IMS Password Required" Require valid-user Options FollowSymLinks AllowOverride None Order deny,allow Allow from all &lt/Directory&gt

Server is Solaris 10 x86, with:

SSL enabled Apache/2.2.0 (Unix) mod_ssl/2.2.0 OpenSSL/0.9.8b mod_perl/2.0.2 Perl/v5.8.7 configured

Can someone give me advice as to what may be preventing the prompt dialog from passing the username/password informaiton to the PerlAuthenHandler? I did a snoop on the interface and did not even see the server try and communicate to the NIS server.

Thanks,

Kurt

Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.