NIS+ YP compatibility mode error -> su: incorrect password

From: LOEWENTHAL Simon (sloewenthal@gemini.edu)
Date: Tue Mar 07 2006 - 22:00:02 EST


Dear everyone,

  I set-up a RHE box to use YP. The NIS+ server is Solaris 9 running in
compatibility mode.
On the RHE box I can ypcat at passwd.byname (as root), and get back
unencrtyped passwords.
When I try and su to a user, as root, I get: /su: incorrect password/.
Nor can the user log in over ssh.

The /etc/nsswitch.conf has :
passwd: files nis
shadow: files nis
group: files nis

The NIS+ root master has these settings:
$ nisls -l passwd.org_dir
T ----rmcdrmcdr--- sbfldap.pp.edu. Sat May 21 13:35:41 2005 passwd.org_dir
r.cl.gemini.edu.
$ niscat -o passwd.org_dir
Object Name : "passwd"
Directory : "org_dir.pp.edu."
Owner : "sbfldap.pp.edu."
Group : "admin.pp.edu."
Access Rights : ----rmcdrmcdr---
Time to Live : 12:0:0
Creation Time : Sat May 21 13:35:41 2005
Mod. Time : Sat May 21 13:35:41 2005
Object Type : TABLE
Table Type : passwd_tbl
Number of Columns : 8
Character Separator : :
Search Path :
Columns :
        [0] Name : name
                Attributes : (SEARCHABLE, TEXTUAL DATA, CASE SENSITIVE)
                Access Rights : r---r---r---r---
        [1] Name : passwd
                Attributes : (TEXTUAL DATA)
                Access Rights : ----rm--r---r---
        [2] Name : uid
                Attributes : (SEARCHABLE, TEXTUAL DATA, CASE SENSITIVE)
                Access Rights : r---r---r---r---
        [3] Name : gid
                Attributes : (TEXTUAL DATA)
                Access Rights : r---r---r---r---
        [4] Name : gcos
                Attributes : (TEXTUAL DATA)
                Access Rights : r---rmcdrmcdr---
        [5] Name : home
                Attributes : (TEXTUAL DATA)
                Access Rights : r---rmcdrmcdr---
        [6] Name : shell
                Attributes : (TEXTUAL DATA)
                Access Rights : r---rmcdrmcdr---
        [7] Name : shadow
                Attributes : (TEXTUAL DATA)cl.geminicl.gemini
                Access Rights : ----------------

Are there any permissions for nobody missing from my passwd.org_dir to
cause this? Any other ideas?

After searching many articles I gave up and came here to ask you.
Cheers, Simon.
PS. WIll summerise.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:15 EDT