Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 620
  • Last Modified:

connect SLES9 NIS client to SOLARIS NIS server

Hello

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) ?
0
Yossishushan
Asked:
Yossishushan
  • 3
  • 3
1 Solution
 
wesly_chenCommented:
> 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
/etc/yp.conf
------
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

Regards,

Wesly

0
 
YossishushanAuthor Commented:
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 ?
 
0
 
wesly_chenCommented:
Make a soft link instead of hard copy.
ln -s /bin/tcsh  /sbin/tcsh
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
YossishushanAuthor Commented:
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.

Thanks


 
0
 
wesly_chenCommented:
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.

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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now