LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-26-2005, 01:13 PM   #1
IwantLINUX
Member
 
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75

Rep: Reputation: 15
Question Nis


Hello All,

i have just completed a NIS server and the problem i am having is, if i create two users(with same names but different passwords), one on NIS server and other one local on NIS client then only local user is allowed to login. When i try to login as NIS server user, i get invalid login. I have tried making entry in /etc/nsswitch.conf "passwd files nis". I am giving the complete scenerio of what i did:

1. created local user on NIS server with home directory /a/user.
2. created local user on NIS client with default home directory /home/user.
3. i mounted /a on NIS server on /a on NIS client using the autofs after exporting it on NIS server as /a *(rw) in /etc/exports.

My auto.master entry is as follow:

/a /etc/auto.home --timeout 60

and my auto.home entry is:

* -rw,soft,intr 192.168.0.8:/a/&

192.168.0.8 is my NIS server address and NIS client is having 192.168.0.11

But i am facing a problem as mentioed above..

Any help will be appreciated...

PS: i can use ypcat passwd and it shows the correct results and i am mapping passwd hosts and group and MERGE_PASSWD and MERGE_GROPU are set to true...Also, i have used iptables -F
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS-Problem - search for NIS-Guru or SuSE Profesional krischeu MEPIS 0 06-16-2005 07:21 AM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Security 2 03-31-2004 12:43 PM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Networking 1 03-31-2004 07:51 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Solaris / OpenSolaris 1 03-31-2004 06:10 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Linux - General 1 03-31-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration