NIS authentication

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rahatekarabhijeet
    New Member
    • Jan 2007
    • 55

    NIS authentication

    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.
  • rahatekarabhijeet
    New Member
    • Jan 2007
    • 55

    #2
    Thanks,
    I got where is the problem, actually the NIS server and client are on different
    network as well as there is no entry in /var/yp/securenets file for my network.
    Due to which it denying the access for my machine.

    Comment

    Working...