473,395 Members | 2,443 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

NIS authentication

I am currently trying to provide authentication to my apache web server,
by using PerlAuthenHandler Apache::AuthenNIS.
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.
Feb 22 '07 #1
6 5909
Motoma
3,237 Expert 2GB
Are both of these machines on the same physical network?

Check your /var/yp/nicknames file.
Does it look correct (have an entry for passwd)?

Is your domain in the /var/yp/bindings directory?
Does the ypservers have your server in it?
Feb 23 '07 #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.
Thanks again for your valuable help.......
Feb 23 '07 #3
Motoma
3,237 Expert 2GB
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.
Thanks again for your valuable help.......
More than happy to be of assistance.
Feb 23 '07 #4
I am also working on Web Based NIS authentication but I want to know from where should I start....I need a beginning point to start. If someone wants to share the basic code with me.

Thank you in advance.
Jul 27 '07 #5
Motoma
3,237 Expert 2GB
I am also working on Web Based NIS authentication but I want to know from where should I start....I need a beginning point to start. If someone wants to share the basic code with me.

Thank you in advance.
Perhaps this link will help you on your way.
Jul 27 '07 #6
Hi, All
I m working on php using apache.
I want to get user name and password from my nis server using ypcat and then inserting that data in a dynamic table(created after ypcat) in mysql(phpmyadmin in php 4.1.1)

Now how do i do that.
Someone out there, please help!
Aug 1 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. #...
8
by: Bob Everland | last post by:
I have an application that is ISAPI and the only way to secure it is through NT permissions. I need to have a way to login to windows authentication so that when I get to the ISAPI application no...
6
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms...
9
by: Tom B | last post by:
In my web.config file I've specified Windows for the authentication, in IIS I've set it to Integrated Authentication. But my SQL connection is still showing Anonymous. Is there somewhere else I...
0
by: Anonieko Ramos | last post by:
ASP.NET Forms Authentication Best Practices Dr. Dobb's Journal February 2004 Protecting user information is critical By Douglas Reilly Douglas is the author of Designing Microsoft ASP.NET...
4
by: Andrew | last post by:
Hey all, I would like to preface my question by stating I am still learning ASP.net and while I am confident in the basics and foundation, the more advanced stuff is still a challenge. Ok....
0
by: Albertas | last post by:
What I'm doing wrong that I can't make my authentication to work. Here is the situation: I'm hosting a Web Service from a Windows forms application, using .NET Framework 3.0 WCF. And I want to...
18
by: troywalker | last post by:
I am new to LDAP and Directory Services, and I have a project that requires me to authenticate users against a Sun Java System Directory Server in order to access the application. I have found...
2
by: Frank Swarbrick | last post by:
I am trying to understand "client authentication" works. My environment is DB2/UDB LUW 8.2 on zSeries SLES9 as the database server and DB2 for VSE 7.4 as the client. We currently have DB2/LUW set...
5
by: Rory Becker | last post by:
Having now created a Custom MembershipProvider that seems to work correctly with my Logon and ChangePassword controls, I am, as they say, a happy bunny. The next stange is to move on to the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.