Re: Sparc Solaris NIS client Linux NIS server



dogdog@xxxxxxxxxxx wrote:
> I'm cross posting this from comp.unix.solaris in hopes
> that the linux admins can help or have had similiar
> experience.
>
> Sunfire V240 Solaris 8 02/04. I've configured it as a
> nis client. I logon as root (local account). Verify that it sees
> the nis master (ypwhich), verified that it can cat the hosts file
> (ypcat hosts), verified that it can see the passwd file (ypcat
> passwd). These all work. I have also the ability to (when logged
> in as root) su - <username> and become a user (whereas the user
> is a NIS user with account information and home directory on the
> Linux NIS server). What I cant do is logon via the CDE logon
> screen. I get the "incorrect logon" error.
>
> I've ran ethereal to check the connection and the closest anomaly
> I found was that when logging on the Solaris box via CDE it is not sending
> the logon credentials to the Linux NIS server, therefore not getting a response
> back that its a valid logon. Now, this isnt the end. I also ran
> ethereal against a telnet session to the solaris box, and I did see
> it send the username over the wire to the NIS server, but again
> got an incorrect logon error.
>
> Has anyone seen this?? I'm thinking a patch or something since the
> sparc is freshly built with no patches.

NIS doesn't "send the username/password" over the wire, ... well
not the way you make it sound. It merely looks them up out of
the NIS tables available to the client (which do go across the
wire or out of cache... which I don't recommend).

We replaced our Solaris NIS server with a Linux one years ago.
Everything works fine. Including logging on using CDE on those
clients.

Check your nsswitch.conf on your Solaris client.
.



Relevant Pages