Solved

NIS+ and YP compatibility

Posted on 1997-05-05
2
246 Views
Last Modified: 2013-12-16

Hi,
      I am tring to set up a Sol2.5.1 machine, to be both a YP client
      to one domain, eso1 and a NIS+ master of another domain,
      secure.eso.org. All works well except yp and nis+ both look
      in the same place for their domain name, the value returned
      from sysinfo. This screws one or the other, dependant on whats
      been set in /etc/defaultdomain. And if this has been changed after
      say nis+ has been set, for yp to use, then nis+ will fail.
      
      Is it possible to change where yp or nis+ look for this info.
      Is there any source available for this so I can change it?

      Ideas?
      
Kind regards,

Simon.


--

------------------------------------------------------------------
Simon J Loewenthal      -       ESO Helpdesk
sloewent@eso.org      -      European Southern Observatory (ESO)
www.eso.org/it            -      Karl-Schwarzschild-Strasse 2
++49-89-320-06333      -       D-85748 Garching bei Muenchen
                  -      Germany
------------------------------------------------------------------
0
Comment
Question by:sloewent
2 Comments
 

Author Comment

by:sloewent
ID: 1812130
Adjusted points to 150
0
 
LVL 2

Accepted Solution

by:
pxh earned 150 total points
ID: 1812131
Well, I have some ideas but never tried it. If it works fine, if no just reject, OK?

Let's assume for simplcity that you want the yp use a different domain from what is entered in /etc/defaultdomain. Go to /var/yp or where wever you installed the yp config files. Look into the Makefile there is a line

DOM = `domainname`

so you can edit this line and specify the domainname you want there.

Next look into the /var/yp subdirectories, you will find directories named like you yp-domain there. Try to rename them. E.g. our domain is xmm.mpg.de and there exist a xmm.mpg.de directory directly on /var/yp and one in /var/yp/binding.

Next go to /etc/init.d and look into the file yp. Also there the domainname is taken queried (domain=`domainname`). Again, you may have to change this.

There is nothing else I can think to do. But as I said, I am a bit guessing, since I never tried this.

Good luck,

Peter (pxh@mpe-garching.mpg.de)

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

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

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

830 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