Linux NIS Server with Solaris NIS Client

Discussion in 'Linux Networking' started by tdenham, Sep 3, 2005.

  1. tdenham

    tdenham Guest

    I have a Linux NIS server setup that appears to work just fine, however
    when I try to use a Solaris client the password is not accepted.

    I know NIS is working fine because if I use an encrypted password from
    the Solaris shadow file by pasting into the Linux shadow file the NIS
    client works perfect. However if I generate a password on Linux the
    NIS client fails.

    The Linux NIS server creates a much longer encryped password compared
    to the Solaris client.

    I'm using SuSE 9.2 and Solaris 2.6.

    Is there a way to make Solaris recognize the longer Linux encryption or
    else make the Linux encryption shorter?

    Thanks.
     
    tdenham, Sep 3, 2005
    #1
    1. Advertisements

  2. tdenham

    Bob Hauck Guest

    Sounds like maybe you have md5 passwords enabled. Solaris doesn't like
    those.

    I don't think Solaris 2.6 will use the md5 passwords, although I'm
    willing to be proven wrong on that. You can, however, make Linux use
    the shorder des passwords. This is normally controlled by PAM, I
    believe SuSE configures it through YAST nowadays.

    To do it by hand, look for a file under pam.d that has a line like:

    password required pam_unix.so nullok obscure min=4 max=8 md5

    Remove the "md5" to create regular des passwords. You'll have to
    re-enter your passwords of course to get them to use the new format.
     
    Bob Hauck, Sep 4, 2005
    #2
    1. Advertisements

  3. tdenham

    tdenham Guest

    That definitely sounds like my problem! Thanks for the quick response
    Bob. I'll give that a try and see how it goes.
     
    tdenham, Sep 6, 2005
    #3
  4. tdenham

    tdenham Guest

    Made changes this morning...Changing to DES worked! Thanks Bob!
     
    tdenham, Sep 6, 2005
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.