I am currently trying to provide authentication to my apache web server,
by using PerlAuthenHandl er Apache::AuthenN IS.
I have installed mod_perl and, Net::NIS, and AuthenNIS module which are prerequisities for NIS authentication from CPAN.
Now i am getting asked for username and password when i try to access
my web server, but no cross check is happening for given username and password.
It is giving access for any garbage entry.
In actual authentication process it should compare the username and password
with password.byname map provided by NIS server.
So now I am trying manually,
I enabled the NIS client,
I am getting the entries for portmap and ypbind by using netstat -a.
but when i use ypcat passwd command it giving me following error rather than
giving username and password entries in NIS server.
error:No such map passwd.byname. Reason: No such map in server's domain
I need immediate help, so please give your suggestions as soon as possible.
by using PerlAuthenHandl er Apache::AuthenN IS.
I have installed mod_perl and, Net::NIS, and AuthenNIS module which are prerequisities for NIS authentication from CPAN.
Now i am getting asked for username and password when i try to access
my web server, but no cross check is happening for given username and password.
It is giving access for any garbage entry.
In actual authentication process it should compare the username and password
with password.byname map provided by NIS server.
So now I am trying manually,
I enabled the NIS client,
I am getting the entries for portmap and ypbind by using netstat -a.
but when i use ypcat passwd command it giving me following error rather than
giving username and password entries in NIS server.
error:No such map passwd.byname. Reason: No such map in server's domain
I need immediate help, so please give your suggestions as soon as possible.
Comment