NIS setup under 2.0.27

NIS setup under 2.0.27

Post by Christopher M. Ch » Thu, 23 Jan 1997 04:00:00



Hello,

I'm having a problem initializing an NIS client under
2.0.27.

I have an /etc/yp.conf file with the following format
(edited for security)

     domain mynisdomainname server mymasterserver

When ypbind runs, it parses the file, and finds the
domainname, but domainname still reports itself as
"(none)".

If I set the domainname by hand and then run ypbind,
I see the following (via the debug flag):

     cleared entry for domain mynisdomainname: server 0.0.0.0, port 0
     parsing config file
     Trying entry: domain mynisdomainname server mymasterserver

     parsed domain mynisdomainname server mymasterserver
     getenv: hosts
     bindto_server: domain mynisdomainname, host mymasterserver
     updated entry for domain mynisdomainname: server 204.243.xxx.xxx, port 663
     pinging server 204.243.xxx.xxx, port 663

If I do a ypwhich, I get the correct answer back, and
ypbind's debug also notes the following:

     YPBINDPROC_DOMAIN_2: server 204.243.xxx.xxx, port 663

However, when I do a ypcat for any map, I get an error
that looks something like this:

     No such map hosts.byname. Reason: can't bind to a server which serves domain

The server I'm using is a SunOS 4.1.3 ypmaster, and is
currently serving many clients of various platforms,
and is indeed answering at 663 with ypserv.

Am I missing something (hopefully simple) here?

Any suggestions would be greatly appreciated.
My return address has been altered to limit spam.
Please use the address in my .sig

Thanks,
 - Christopher
   (SunOS veteran, LiNUX pleab)

--
Christopher M. Chin                                (415) 543-7696 (voice)
UNIX/Network Administrator                         (415) 896-1327  (fax)
 "There's no such thing as strong coffee ...       chris(at)Advent(dot)COM
   .... just weak people."

 
 
 

NIS setup under 2.0.27

Post by G. Allen Morris I » Sat, 25 Jan 1997 04:00:00



: Hello,

: I'm having a problem initializing an NIS client under
: 2.0.27.

: I have an /etc/yp.conf file with the following format
: (edited for security)

:      domain mynisdomainname server mymasterserver
:      

[snip]

you might try adding:

ypserver mymasterserver

to your yp.conf file.

--
G. Allen Morris III                 http://www-inst.EECS.Berkeley.EDU/~gam3

Senior, Department of Electrical Engineering and Computer Sciences

 
 
 

1. libg++.so.27 and libstc++.so.27?

I'm trying to install netscape 4.05 and Real Server.  Both require
libg++.so.27 and libstc++.so.27.  Could someone tell me where to find these
libraries.  I have tried installing libg++-2.0.1.1a and libstc++-2.0.1 and
these only install libg++.so.26.2.25 and libstc++.so.26.2.25 (or somewhere
along the .26 rev.)  I am using slackware 3.0.  I'm going to upgrade to
slackware 3.5 tonight, but I'm not sure if they are included in that version
of slackware.  Any help is appreciated.

Chandler Chao

2. Sankyo / Archive / Summit

3. 2.5.40 s390 (27/27): control characters.

4. SPOC

5. Setup SB32 with kernel 2.0.27 [help]

6. dtmail file associations

7. Help: Solaris 7: setup can only see 8Gb of my 27.3Gb drive ..

8. Changing delete key for emacs

9. Howto setup secure rpc without using nis/nis+

10. nis(not nis+) on solaris2.1 and its setup.

11. NIS or NIS + setup

12. NIS/libc.4.6.27

13. Insmod says 2.0.27 doesn't match 2.0.27. Duh?