Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 2004 12:06:53 -0800 (PST)
From:      Jeremy Lamb <freebsdguru2002@yahoo.com>
To:        freebsd-net@freebsd.org
Subject:   Re: NIS passwd error
Message-ID:  <20040103200653.95511.qmail@web10709.mail.yahoo.com>
In-Reply-To: <20040103194226.93566.qmail@web10709.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in /var/log/messages, i get:
 
Jan  3 19:44:06 venus ypserv[283]: access to master.passwd.byuid denied -- client 192.168.1.105:49167 not privileged
Jan  3 19:44:06 venus ypserv[283]: access to master.passwd.byname denied -- client 192.168.1.105:49167 not privileged

Obviously, the problem is that the NIS lookup request is coming from
 a non-priveleged (> 1024) port, and ypserv won't honor it.  What's
 not so obvious is why/how this is happening.

 
I found this reply, to someone who has had the same problems:
 
That message gets printed whenever a remote NIS client tries to access
master.passwd.* over a non-privileged port.  Only root should have
access to the master maps, so a remote process has to bind to a port <
1024 before doing the lookup, to prove that it's root.  It looks like
for some reason you have a process that's running as root but is using
a port over 1024.  I can't see anyplace in the NIS client code that
binds the socket, though, so I must be looking in the wrong place.  It
has to work, or else you wouldn't be able to log in using NIS at all.


Jeremy Lamb <freebsdguru2002@yahoo.com> wrote:
ypwhich: can't find the master of master.passwd.byuid: reason: YP server error
ypwhich: can't find the master of master.passwd.byname: reason: YP server error



I also get these errors, when i run 'ypwhich -m'. every other map check out fine.

Jeremy Lamb wrote:
Hi,
I recently setup NIS on 2 FreeBSD 5.1 machines. venus is the nis master server, and jupiter is the nis client.

When i log on to jupiter, with the NIS login (jlamb2) and try to change my passwd i get this error:

$ passwd
Changing NIS password for jlamb2
Old Password:
New Password:
Retype New Password:
passwd: pam_chauthtok(): error in service module
$


What do i need to do to fix this error?


---------------------------------
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"

---------------------------------
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"

---------------------------------
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040103200653.95511.qmail>