LinuxQuestions.org
Review your favorite Linux distribution.
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 05-09-2005, 05:24 PM   #1
clinton
Member
 
Registered: Oct 2003
Location: Vancouver
Distribution: RH Enterprise AS 3
Posts: 47

Rep: Reputation: 15
NIS: ypserv.conf rules


Hi all,

I'm trying to get NIS to work and I have a few questions about the rules in /etc/ypserv.conf

First, when I log in to the NIS client I get this message:

id: cannot find name for user ID 511

I have narrowed the problem down to the access rules in /etc/ypserv.conf:

Code:
     192.168.168.:*:*:port
has to be changed to:

Code:
     192.168.168.:*:*:none
in order to work.

I don't like how this decreases security (although I'm not sure HOW it decreases security).

Code:
rpcinfo -p localhost
on the NIS client gives the following output:

100007 2 udp 1013 ypbind
100007 1 udp 1013 ypbind
100007 2 tcp 1016 ypbind
100007 1 tcp 1016 ypbind

So ypbind is running on a port < 1024. Then why aren't the maps being communicated?

The rest of my /etc/ypserv.conf looks like this:

Code:
# The following, when uncommented,  will give you shadow like passwords.
# Note that it will not work if you have slave NIS servers in your
# network that do not run the same server as you.

# Host                     : Domain  : Map              : Security
#
#*                        : *       : passwd.byname    : port
#*                        : *       : passwd.byuid     : port

# Not everybody should see the shadow passwords, not secure, since
# under MSDOG everbody is root and can access ports < 1024 !!!
*                          : *       : shadow.byname    : port
*                          : *       : passwd.adjunct.byname : port
It was set like that by default and I haven't changed it. Could this account for the trouble I'm having?

I'm also wondering about shadow passwords. Can the current NIS handle it? The above comments in /etc/ypserv.conf suggests that they can, but I've read in many places that NIS cannot do shadow passwords.

I must admit that I'm a little confused with these two questions and would appreciate if someone could shed some light on the subject.

Thanks very much!

Last edited by clinton; 05-09-2005 at 05:33 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
New modules.conf rules (i'm confused) dogpatch Linux - General 8 11-26-2005 10:39 AM
Starting ypserv on FC4 with /etc/init.d/ypserv throws ypxfr execl() permission denie Speedy Gonzales Fedora - Installation 0 10-07-2005 04:18 AM
Setting up NIS Client - yp.conf?? cevjr Linux - Networking 1 06-04-2005 02:26 PM
trying to get NIS up: ypserv running but not responding? BrianK Linux - Networking 1 06-07-2004 07:45 PM
NIS and ypserv Breezwell Linux - Networking 2 05-05-2001 12:28 PM


All times are GMT -5. The time now is 06:06 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration