Dear Debian users!

Kindly ask for your help re. following problem (I am rather new in this 
buisness). Here at the
college I want to set up a server -client system using nis. So far things  
work, but when it comes
to changing passwords for any user, say user  funny, as follows

[EMAIL PROTECTED]:~$ yppasswd
Changing password for funny
(current) UNIX password:
passwd: Authentication service cannot retrieve authentication info.

The subsequent configuration seems to be all right --   Any help is 
appreciated, Alexander.


NIS - Server configuration:


linux:~# cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         files nis
group:          files nis
shadow:         files nis

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis



in the file "/etc/default/nis" I set "NISSERVER=master"  and "NISCLIENT=false"

then "/etc/init.d/nis restart"

finally,
linux:~# ps -ef | grep yp
root     15916     1  0 11:05 ?        00:00:00 /usr/sbin/ypserv
root     15917     1  0 11:05 ?        00:00:00 /usr/sbin/rpc.yppasswdd -D /etc 
-e chsh
root     15921     1  0 11:05 ?        00:00:00 /usr/sbin/rpc.ypxfrd

so, everything seems to work here.


For the NIS -CLIENT:
[EMAIL PROTECTED]:~$ cat /etc/yp.conf
ypserver linux.school.com

in /etc/passwd, /etc/group, /etc/shadow I added "+::::::", "+:::", and 
"+::::::::" respectively. 

the file /etc/nsswitch is identical to that at the server .


Finally I checked
[EMAIL PROTECTED]:~$ ypcat -h linux passwd
funny:x:1004:1004:funny3,,,:/home/funny3:/bin/bash

and 
[EMAIL PROTECTED]:~$ ps -ef | grep yp
root      2529     1  0 11:43 ?        00:00:00 /usr/sbin/ypbind
root      2530  2529  0 11:43 ?        00:00:00 /usr/sbin/ypbind
root      2531  2530  0 11:43 ?        00:00:00 /usr/sbin/ypbind
root      2532  2530  0 11:43 ?        00:00:00 /usr/sbin/ypbind


so, everthing seems to be working, user funny can log on the client but not 
change his password.
Please what did I do wrong? 




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to