I recently installed the latest LTSP-4 build released on monday.  I have been
having problems with NIS.  I noticed several things that are amiss.  First, in
/etc/rc.sysinit on the client, line 358 is as follows:

 echo "ypserver ${NIS_SERVER}" >>/tmp/yp.conf

Now, as I understand it, the syntax for yp.conf is such that it can contain any
one of the following three lines:

domain NISDOMAIN server HOSTNAME
domain NISDOMAIN broadcast
ypserver HOSTNAME

If we are using the third flavor, then shouln't the argument be the hostname and
not the nis domainname?  Would it not be better to use one of the following:

echo "ypserver ${DEFAULT_SERVER}" >>/tmp/yp.conf
echo "domain ${NIS_SERVER} server ${DEFAULT_SERVER}" >>/tmp/yp.conf
echo "domain ${NIS_SERVER} broadcast" >>/tmp/yp.conf


Unless, of course, I just don't understand the purpose of the NIS_DOMAIN
variable, which could be entirely possible.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to