NIS passwd error
Jeremy Lamb
freebsdguru2002 at yahoo.com
Sat Jan 3 12:07:57 PST 2004
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 at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
---------------------------------
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
_______________________________________________
freebsd-net at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
---------------------------------
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
More information about the freebsd-net
mailing list