NIS client problem

NIS client problem

Post by Daniel Charleboi » Fri, 09 Jun 2000 04:00:00



I've configured an NIS client in Slackware 2.2.13.  I can use ypcat to
view the mappings.  The server responds without a hitch.  The problem
arizes when I actually try to logon, the system replies with the
message:

login: <username>
Password: <password>
    crypt: operation not supported

When username is a local account the login is successfull.  When it is
not a local account I get the message above.

Does anyone know what the problem is or whether I should investigate the
server or the client?

Thanks,

Daniel

 
 
 

NIS client problem

Post by Edward Man » Fri, 09 Jun 2000 04:00:00



> I've configured an NIS client in Slackware 2.2.13.  I can use ypcat to
> view the mappings.  The server responds without a hitch.  The problem
> arizes when I actually try to logon, the system replies with the
> message:

> login: <username>
> Password: <password>
>     crypt: operation not supported

> When username is a local account the login is successfull.  When it is
> not a local account I get the message above.

> Does anyone know what the problem is or whether I should investigate the
> server or the client?

> Thanks,

> Daniel

What is the NIS server... I just need to know so I can find out what kind
of crypt it uses on the password. And local acount will work.... Oh are you
using PAM as your authintication. There is setting in it for NIS.... Am i
going in the wrong direction?

 
 
 

NIS client problem

Post by Daniel Charleboi » Tue, 13 Jun 2000 04:00:00


Thanks lbj,

This solution actually got me 80% of the way.  After installing descrypt, not
only did the message disappear, but I successfully logged on.  My only problem
now is that the system cannot find home directories after logon.  I guess I now
need to read up a little more on NIS and automounting.

Thanks again...



> >I've configured an NIS client in Slackware 2.2.13.  I can use ypcat to
> >view the mappings.  The server responds without a hitch.  The problem
> >arizes when I actually try to logon, the system replies with the
> >message:

> >login: <username>
> >Password: <password>
> >    crypt: operation not supported

> >When username is a local account the login is successfull.  When it is
> >not a local account I get the message above.

> >Does anyone know what the problem is or whether I should investigate the
> >server or the client?

> The "crypt: operation not supported" will happen in Slackware 7 (that's
> what you really have; 2.2.13 is the kernel version) if you did not load the
> "descrypt" package, and the account/password you are trying to log in with
> is not valid. This happens with or without NIS, and is a small bug. You
> should probably load the descrypt package (from diskdes1) just to get rid
> of the message, although I doubt it will fix the underlying problem.

> Did you change your /etc/nsswitch.conf file so it knows to get passwords
> from NIS? The passwd: entry needs to either say "compat", in which case
> you need the magic "+" entry in /etc/passwd, or else it needs to
> have something like "files nis" as the entry.

 
 
 

1. Solaris NIS server and Linux NIS client : problems

Hi all
   I am new to NIS world and I am trying to connect a NIS client (RH
8.0) to a Solaris 2.8 NIS server and having mount and NIS login
problems.

   I am following Linux documentation project NIS How-to and
http://www.siliconvalleyccie.com/linux-adv/nis.htm.

   I have done the following:
   a. Set up NIS server to recognize the linux IP and hostname. (done
by someone else).  NIS server runs in NIS (YP) mode.
   b. Changed nsswitch.conf
      passwd:     compat files nis
      shadow:     compat files nis
      group:      compat files nis

      hosts:      nis files dns
   c. changed resolv.conf to add domain and nameserver IP address
      Able to ping NIS server by DNS name.
   d. modified /etc/auto.master and /etc/auto.nfs
   e. Ran authconfig - /etc/sysconfig/network looks fine
   f. /etc/hosts.conf - order hosts,bind,nis
   g. /etc/hosts - Added DNS-IP address of the NIS server and the
linux host
   h. Changed /etc/passwd and /etc/group and /etc/shadow
   i. Started NIS related client daemons. Ran chkconfig to save.

   Now, after reboot, login and mounts does not work.

   1. ypwhich shows the NIS server's DNS name (fully-qualified)
   2. ypcat passwd shows error
      No such map passwd.byname. Reason: Can't bind to server which
serves this domain
   3. rpcinfo -p localhost outputs:
    program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100024    1   tcp  32768  status
    100007    2   udp    914  ypbind
    100007    1   udp    914  ypbind
    100007    2   tcp    917  ypbind
    100007    1   tcp    917  ypbind
    391002    2   tcp  32769  sgi_fam
    100009    1   udp   1020  yppasswdd

Any help is deeply appreciated
Thanks
Sri

2. Modem problems

3. Solaris 8 Nis+ server and RH Linux 7.3 Nis+ client ---- Problems and Questions

4. Xfree86 3.3.5 instal problem -newbie

5. NIS client problem.

6. true type fonts in linux

7. Linux NIS client problems

8. X11R6 on Solaris 2.4?

9. NIS Client problem

10. Solaris NIS Client Problem

11. NIS+ client problems

12. NIS client problem (hosts)

13. HELP: NIS client problem