connect SLES9 NIS client to SOLARIS NIS server

Posted on 2005-03-24
Medium Priority
Last Modified: 2013-12-05

I have a NIS server on Solaris 8 and NIS client with the same operating system.
i want to add SLES9  to the nis server. so i work with YAST when i try to connect him to NIS server he found NIS server and tell me the address of the NIS server he found but when i click finish the NIS service start and i get error NIS server not found  
it is posseble to connect linux machine (NIS client) to SUN (NIS server) ?
Question by:Yossishushan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 38

Expert Comment

ID: 13628804
> it is posseble to connect linux machine (NIS client) to SUN (NIS server) ?
It's doable and I've done this for 100+ Linux NIS client with Solaris NIS server.

> finish the NIS service start and i get error NIS server not found  
1. Edit
domain  <your NIS domain name>  server <your NIS server IP>

2. Check /etc/nsswitch.conf  for "nis" in passwd, shadow, group, hosts.....items

3. Make sure you can pint NIS server
ping <your NIS server IP>
Otherwise check the routing table
netstat -rn

4. Make sure no firewall block the NIS.
/etc/init.d/iptables stop

5. Restart the ypbind
/etc/init.d/ypbind restart




Author Comment

ID: 13631448
Thank you ...you so right  this is  FW problem...thanks
now i have another problem the users use tcsh shell when they login they get error   /sbin/tcsh: No such file or directory.
tcsh on suse found on /bin so i copy it to sbin is that right to do this ?
LVL 38

Expert Comment

ID: 13632271
Make a soft link instead of hard copy.
ln -s /bin/tcsh  /sbin/tcsh
Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!


Author Comment

ID: 13634415
thank you again your suggestion help to solve the error /sbin/tcsh: No such file or directory...thanks
but now i have another problem ): ...sorry : )
the users need to connect remotly via exceed when they try to login they get error "x session login for username is disable" but i know how to solve the problem ... ( :
when i change the file /etc/passwd for the user that try to loging instead of tcsh shell i change it to bash shell and the user succeed to login without any error.
i think that this is occur because the the tcsh link because with bash its working.


LVL 38

Accepted Solution

wesly_chen earned 2000 total points
ID: 13634668
1. Try to change to /bin/tcsh in /etc/passwd and test first.

2. Check .cshrc or .login for that user for any display setting.


Author Comment

ID: 13636044
Thank You  so much i changed the /etc/passwd file to /bin/tcsh and it's work now ..... thanks agian.

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Fine Tune your automatic Updates for Ubuntu / Debian
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month8 days, 12 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question