Summary: NIS+ problem

From: Rasana Atreya (Rasana.Atreya@library.ucsf.edu)
Date: Fri Sep 27 1996 - 10:59:59 CDT


Hi!

Thanks to

From: Asim Zuberi <asim@psa.pencom.com>
From: Administracao de Sistemas <uadm@dca.fee.unicamp.br>
From: Per.Akesson@carmenta.se (Per Akesson)
From: Glenn.Satchell@uniq.com.au (Glenn Satchell - Uniq Professional Services)
From: "Mark `Hex' Hershberger" <mah@eecs.tulane.edu>
From: Claus Assmann <ca@informatik.uni-kiel.de>
From: Dave Wreski <dwreski@ULTRIX.RAMAPO.EDU>

Three parts to my question:

>I'm testing an NIS+ setup:
>On my clients, nis commands do not work:
>helios-19-> nisls
>library.ucsf.:
>org_dir
>groups_dir
>helios-20-> niscat hosts
>hosts: Not found.
>
>I've setup credentials for the users and the machines.
>
>I'm running in yp-compatible mode.

Part of one response (I probably deserved this! ;( )
This demonstrates that your nis commands are working perfectly well, but
you do not understand NIS+. Set your environment variable NIS_PATH to
"org_dir.$:groups_dir.$:$" -- that should allow nisls to work as you
expect it do.

To get the output you might be expecting, try using "nisls org_dir" and
"niscat hosts.org_dir." These should work without setting your NIS_PATH.
Setting NIS_PATH will tell nisls to list out the contents of org_dir
first.

Part two of my question:
>From my rootmaster's /var/adm/messages:
>Sep 20 14:28:05 jasmine sendmail[20184]: NOQUEUE: SYSERR(root): Switch map
>aliases: unknown member map aliases.nis

Response 1:
Check /etc/nsswitch.conf aliases: seems to list nis, but you don't have NIS for
aliases? ypcat aliases maybe gives an error? So remove nis from that line.

Me: Bingo! This was indeed the problem.

Response 2:
Are you running a new Sendmail (eg 8.7.?), perhaps one that doesn't
understand NIS/NIS+ aliases?

Me: No

Response 3:
I don't really know but are you aware that the aliases map in NIS+
is called mail_aliases

Me: No, I wasn't aware, thanks!

Response 4:
This looks to me as if there is some damaged NIS map, probably the map
mail.aliases. Try to rebuild it using the command "newaliases"

Me: No, that wasn't it either.

>Sep 20 14:40:44 jasmine syslog: svc_tli_create: could not bind to requested
>address: No Error

No response.

Thanks!!
Rasana
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Rasana Atreya Voice: (415) 476-3623 ~
~ System Administrator Fax: (415) 476-4653 ~
~ Library & Ctr for Knowledge Mgmt, Univ. of California at San Francisco ~
~ 530 Parnassus Ave, Box 0840, San Francisco, CA 94143-0840 ~
~ Rasana.Atreya@library.ucsf.edu ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:10 CDT