From owner-freebsd-net@FreeBSD.ORG Sat Jan 3 12:07:57 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97EF816A4CE for ; Sat, 3 Jan 2004 12:07:57 -0800 (PST) Received: from web10709.mail.yahoo.com (web10709.mail.yahoo.com [216.136.130.115]) by mx1.FreeBSD.org (Postfix) with SMTP id BDCEA43D66 for ; Sat, 3 Jan 2004 12:06:53 -0800 (PST) (envelope-from freebsdguru2002@yahoo.com) Message-ID: <20040103200653.95511.qmail@web10709.mail.yahoo.com> Received: from [12.33.198.162] by web10709.mail.yahoo.com via HTTP; Sat, 03 Jan 2004 12:06:53 PST Date: Sat, 3 Jan 2004 12:06:53 -0800 (PST) From: Jeremy Lamb To: freebsd-net@freebsd.org In-Reply-To: <20040103194226.93566.qmail@web10709.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: NIS passwd error X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2004 20:07:57 -0000 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 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