tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dan Kirkpatrick <dkirk () suhep ! phy ! syr ! edu>
To: tru64-unix-managers
Subject: SUMMARY: NIS slave - can't log into
Date: Tue, 12 May 1998 13:57:42 +0000	[thread overview]
Message-ID: <96078708811533.tru64-unix-managers.marc@archive.invalid> (raw)

Thanks to:
"Sean O'Connell" <sean@stat.Duke.EDU>
Yizhong Zhou <zhou@mathworks.com>
"Knut Helleb=F8" <Knut.Hellebo@nho.hydro.com>
Gyula Szokoly <szgyula@tarkus.pha.jhu.edu>
Ian Mortimer <mortimer@physics.uq.edu.au>

The problem has cleared itself up.  I tried re-running 'nissetup' and it
didn't fix it.  There was not an identical account in the local
/etc/passwd.  There was a +: in /etc/passwd to enable all accounts in the
nis maps.  I tried a reboot and it didn't fix it.  I made sure
"passwd=3Dlocal,yp" was in /etc/svc.conf.  I also made sure the following
were in /etc/rc.config:
NIS_CONF=3D"YES"
NIS_TYPE=3D"SLAVE"
NIS_DOMAIN=3D"mydomain"
NIS_ARGS=3D"-s -S mydomain,ypslave,ypmaster"

The only thing I can think that cleared it up was a combination of the
reboot, and resetting the ypservers map (using makedbm). =20

On another small note, I always get a "Map 'ypslaves.domainname' is empty
for domain 'domainname'.  Should I do anything about this?

Thanks!
Dan

>I've set up NIS under base security, with a master and slave, and several
clients.
>I can log into all machines except the slave using my NIS account.
>I can log in anywhere whether ypwhich gives master or the slave, but
cannot log into the slave.  When I'm on the slave, I can do a ypcat of
passwd and see my account (same encrypted passwd as master)
>
>Here's the /etc/svc.conf:
>aliases=3Dlocal,yp
>group=3Dlocal,yp
>hosts=3Dlocal,bind,yp
>netgroup=3Dlocal,yp
>networks=3Dlocal,yp
>passwd=3Dlocal,yp
>protocols=3Dlocal,yp
>rpc=3Dlocal,yp
>services=3Dlocal,yp
>auth=3Dlocal,yp
>
>SECLEVEL=3DBSD   # for backwards compatibility ONLY
>
>
>ypbind and ypserv are running.
>I tried stopping and restarting NIS... still no.
>
>Thanks!
>Dan=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Dan Kirkpatrick                     dkirk@phy.syr.edu
Systems Manager=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20
Department of Physics
Syracuse University, Syracuse, NY


http://www.phy.syr.edu         Fax: (315) 443-9103
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

                 reply	other threads:[~1998-05-12 13:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox