Subject: rpc.yppasswdd problems
To: None <netbsd-help@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: netbsd-help
Date: 06/10/2002 12:31:17
Hi!
I'm having problems with my NIS server. Users can authenticate just fine
against this server (1.6_BETA1) but nobody can change the passwords, not
even root. And to make things more difficult to debug, there's nothing
in the logs to help. The only thing in the logs is this line in
/var/log/authlog:
Jun 10 11:20:16 server rpcbind: connect from x.x.x.x to getport/addr(yppasswdd)
server:~> passwd
Changing YP password for martti.
Old password:
New password:
Retype new password:
Couldn't change YP password.
server:~> ypcat passwd
martti:*:1000:1000:Martti Kuparinen:/home/martti:/bin/bash
[...]
server:~> ls -l /var/yp/etc
total 4
-rw-r--r-- 1 root wheel 153 May 17 11:22 group
-rw-r--r-- 1 root wheel 108 May 17 11:22 hosts
-rw------- 1 root wheel 601 May 17 09:37 master.passwd
-rw-r--r-- 1 root wheel 435 May 17 09:37 passwd
server:~> cat /etc/rc.conf
sshd=YES
wscons=YES
rpcbind=YES
ypbind=YES
ypserv=YES
yppasswdd=YES yppasswdd_flags="-d /var/yp"
server:~> ps ax
PID TT STAT TIME COMMAND
0 ?? DKs 0:00.34 [swapper]
1 ?? Ss 0:00.06 init
2 ?? DK 0:00.00 [atapibus0]
3 ?? DK 0:00.07 [usb0]
4 ?? DK 0:00.00 [usbtask]
5 ?? DK 0:00.00 [pms0]
6 ?? DK 0:03.05 [pagedaemon]
7 ?? DK 0:09.06 [reaper]
8 ?? DK 10:14.20 [ioflush]
9 ?? DK 0:03.94 [aiodoned]
101 ?? Ss 0:00.21 /usr/sbin/syslogd -s
116 ?? Ss 0:00.44 /usr/sbin/rpcbind -l
120 ?? Ss 0:41.11 /usr/sbin/ypserv -d
124 ?? Ss 0:13.21 /usr/sbin/ypbind
128 ?? Ss 0:00.04 /usr/sbin/rpc.yppasswdd -d /var/yp
212 ?? Ss 0:00.06 /usr/sbin/sshd
221 ?? IWs 0:00.00 /usr/sbin/inetd -l
226 ?? Ss 0:01.34 /usr/sbin/cron
3884 ?? Ss 0:00.05 sshd: martti [priv]
3886 ?? S 0:00.04 sshd: martti@ttyp1
3887 p1 Ss 0:00.06 -bash
4090 p1 R+ 0:00.00 ps ax
228 E0 IWs+ 0:00.00 /usr/libexec/getty Pc ttyE0
229 E1 IWs+ 0:00.00 /usr/libexec/getty Pc ttyE1
230 E2 IWs+ 0:00.00 /usr/libexec/getty Pc ttyE2
231 E3 IWs+ 0:00.00 /usr/libexec/getty Pc ttyE3
Any ideas?
Martti
---
Martti Kuparinen <martti.kuparinen@iki.fi> NetBSD - No media hype
http://www.iki.fi/kuparine/ http://www.netbsd.org/