SUMMARY: setting up a sun as nis client

From: SSridhar (ssridhar@raven.pnu.com)
Date: Tue Oct 17 2000 - 10:02:49 CDT


thanks to the following:

Albert White - SUN Ireland Ireland Albert White - SUN
albert.white@ireland.sun.com
Anthony Worrall Worrall Anthony
anthony.worrall@reading.ac.uk
Brooke King King Brooke bking@mail.yipes.com
Bruce R. Zimmer Zimmer Bruce R. isdfgbrz@all-phase.com
Cathy Smith Smith Cathy csmith4@ftw.mot.com
Dan.Liebster@chase.com Dan.Liebster@chase.com
Daniel Polombo Polombo Daniel
daniel.polombo@detexis.thomson-csf.com
Darren Dunham Dunham Darren ddunham@taos.com
David Evans Evans David daevans@us.Oracle.com
David Foster Foster David foster@dim.ucsd.edu
G.Saravana Muthu Muthu G.Saravana saravana@cdacb.ernet.in
Jeff Woolsey Woolsey Jeff woolsey@jlw.com
Matthew Stier Stier Matthew Matthew.Stier@fnc.fujitsu.com
mike.salehi@kodak.com mike.salehi@kodak.com
Moti Levy Levy Moti mlevy@lannet.com
Sean Quaint Quaint Sean squaint@mediaone.net
Stuart, Reggie (GXS, Maxim) Maxim) Stuart, Reggie (GXS,
Reggie.Stuart@gxs.ge.com

I did get confused between NIS and NIS+; I am also new to Solaris.
thanks esp to Moti Levy for giving the exact commands for setting up
NIS

Setting a solaris nis client
brodcast mode:
1.domainname your-domain
2.domainname > /etc/defaultdomain
3./usr/lib/netsvc/yp/ypbind
4.cp /etc/nsswitch.nis /etc/nsswitch.conf

ypset mode:
1.domainname your-domain
2.domainname > /etc/defaultdomain
3.mkdir /var/yp/binding/your-domain
4.echo "your-nis-server-name" > /var/yp/binding/your-domain/ypservers
5.add the nis server to the clients hosts file
6.ypinit -c - answer the questions .
7./usr/lib/netsvc/yp/ypbind
8.cp /etc/nsswitch.nis /etc/nsswitch.conf

Sridhar
------------------------------------------------------------
Original Question:

> Hello,
>
> I would like to setup our E450 as a NIS cleint, the server being a DEC
> Alpha machine. We have only single name for the NIS domain (it has
> nothing to do with the DNS domain that these machines are on). I have
> successfully setup other SGI machines as clients but when I try that on
> E450 (solaris7),
>
> nisclient -i -h hostname -a IPnumber -d domainname
>
> it expects the domainname to have atleast two components separated by a
> period. Can I just make one up for this machine only? If not how can I
> force it to take the single name I type.
>
> thanks
> SS

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:20 CDT