November 24, 2024, 07:24:21 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: NIS client problem  (Read 5672 times)

Offline ishtiaq_ucit

  • New Member
  • Posts: 3
NIS client problem
« on: April 22, 2005, 05:12:28 PM »
i m managing a NIS server but there is problem of my nis client when he login then his user name and password allow to enter the graphical mode but icon of Xwindow did,nt appear

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
NIS client problem
« Reply #1 on: April 23, 2005, 07:52:33 AM »
HI

First of all can  u tell what u did in configration files means in /etc/yp.conf or other .. means what entry u made to make ur CLIENTS to enter to graphics mode...?

So tell me ur configration file detail ...as when u will give this only then i can suggest you what to do next......, as i have configred NIS server many times.. but without knowing ur Configration file details i cant suggest u what u did wrong ..

Bye

Cheers
Gaurav

Offline ishtiaq_ucit

  • New Member
  • Posts: 3
NIS client
« Reply #2 on: April 23, 2005, 11:10:36 AM »
dear sir, thanks for reply me ,actually i have built my NIS from the following link http://www.linuxhomenetworking.com/linux-adv/nis.htm
and my yp.conf file is following
# /etc/yp.conf - ypbind configuration file
# Valid entries are
#
#domain NISDOMAIN server HOSTNAME
domain HELLO server 172.16.29.2
#       Use server HOSTNAME for the domain NISDOMAIN.
#
#domain NISDOMAIN broadcast
#       Use  broadcast  on  the local net for domain NISDOMAIN
#
#ypserver HOSTNAME
ypserver 172.16.29.2
#       Use server HOSTNAME for the  local  domain.  The
#       IP-address of server must be listed in /etc/hosts.
#


and also only one of my client of nis server are facing such kind of problem

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Re: NIS client
« Reply #3 on: April 24, 2005, 01:19:26 AM »
Quote from: "ishtiaq_ucit"
dear sir, thanks for reply me ,actually i have built my NIS from the following link http://www.linuxhomenetworking.com/linux-adv/nis.htm
and my yp.conf file is following
# /etc/yp.conf - ypbind configuration file
# Valid entries are
#
#domain NISDOMAIN server HOSTNAME
domain HELLO server 172.16.29.2
#       Use server HOSTNAME for the domain NISDOMAIN.
#
#domain NISDOMAIN broadcast
#       Use  broadcast  on  the local net for domain NISDOMAIN
#
#ypserver HOSTNAME
ypserver 172.16.29.2
#       Use server HOSTNAME for the  local  domain.  The
#       IP-address of server must be listed in /etc/hosts.
#


and also only one of my client of nis server are facing such kind of problem


Hi Dear
Do one thing .. the configration file detais u showed me is ok but change there only 1 line & also  uncomment it ...
That line is:
#domain NISDOMAIN broadcast

here change NISDOMAIN with ur domainname i.e HELLO
After changing the line looks like this:

domain HELLO broadcast

After that repeat the process...i.e make NIS database again by using command ...

#/usr/lib/yp/ypinit -m

After that restart ur NIS services...........

Login from clients .. , After that i think  ur NIS will work...

IF STILL IT DON'T WORK THEN ,  Plzz ensure that u make entry of your ip-address(of NIS SERVER)  & corresponding host-name in /etc/hosts file



Enjoy
Gaurav