Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-09-2005, 04:24 PM   #1
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:

has to be changed to:

in order to work.

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

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:

# 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 04:33 PM.


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

All times are GMT -5. The time now is 04:57 PM.

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