Ciao,
I have look around for the solution of this problem, but untill now I
haven't find the "right" solutions (= no more problem :-)

Shortly:
etc# id
uid=0(root) gid=0(root) gruppi=0(root)
etc# ypcat passwd
nis01:x:1001:1001:untente nis 01,,,:/home/nis01:/bin/bash
nis02:x:1002:1002:utente nis 02,,,:/home/nis02:/bin/bash
etc# su nis01
su: Authentication service cannot retrieve authentication info.
(Ignored)
$ su nis02
Password: 
su: Authentication service cannot retrieve authentication info.
Sorry.
etc$ id
uid=1001(nis01) gid=1001(nis01) gruppi=1001(nis01)
etc$ ypcat passwd
nis01:x:1001:1001:untente nis 01,,,:/home/nis01:/bin/bash
nis02:x:1002:1002:utente nis 02,,,:/home/nis02:/bin/bash

so it seems that nis works (in some way...)
etc$ uname -a
Linux u7365a 2.4.1 #1 mar feb 6 17:15:49 CET 2001 i686 unknown

/etc/apt/sources.list contains "testing" debian

dpkg -l nis
ii  nis 3.8-3  Clients and daemons for he Network Information Services (NIS)

dpkg -l portmap
ii  portmap 5-1  The RPC portmapper


 etc$ 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 nis dns
 networks:       files

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

 netgroup:       nis

On the server:
# rpcinfo -p localhost
program vers proto   port
100000    2   tcp    111  portmapper
100000    2   udp    111  portmapper
100011    1   udp    794  rquotad
100011    2   udp    794  rquotad
100011    1   tcp    797  rquotad
100011    2   tcp    797  rquotad
100004    2   udp    807  ypserv
100004    1   udp    807  ypserv
100004    2   tcp    810  ypserv
100004    1   tcp    810  ypserv
100009    1   udp    809  yppasswdd
600100069    1   udp  812
600100069    1   tcp  814
100007    2   udp  821  ypbind
100007    1   udp       821  ypbind
100007    2      tcp    825      ypbind
100007    1   tcp  825  ypbind
100003    2     udp     2049  nfs
100003   3  udp  2049    nfs
100021  1  udp    32780  nlockmgr
100021  3 udp   32780   nlockmgr
100021 4 udp     32780 nlockmgr
100024  1  udp    657  status
100024  1       tcp     659status
100005 1 udp 32795 mountd
100005  1  tcp  46225 mountd
100005 2 udp 32795      mountd
100005 2         tcp     46225 mountd
100005 3  udp     32795  mountd


The really strange thing is that with a RH 6.2 server it works all right,
but with a Debian 2.2 server it doesen't works.
(all clients are deb 2.2)


Any hint?
TNX

-- 

Paolo Pedaletti, Como, ITALYa     www.fastflow.it/~paolop
[EMAIL PROTECTED]           ICQ: 4755831

Reply via email to