Netgroups don't seem to work.

Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.

  1. #1

    Default Netgroups don't seem to work.

    For some reason, on one RedHat Linux cluster that I manage, the
    netgroups don't seem to work. I can "ypcat netgroup" but I can't match
    any entries in the netgroup map with ypmatch. For example:

    # ypcat -k netgroup| grep pandaboxes
    pandaboxes (panda,,) (panda1,,) (panda2,,) (panda3,,) (panda4,,)
    (panda5,,) (panda6,,) (panda7,,) (panda8,,) (panda9,,) (panda11,,)
    (panda12,,) (panda13,,) (panda14,,) (panda15,,) (panda16,,)
    (panda17,,) (panda18,,)
    # ypmatch pandaboxes netgroup
    Can't match key pandaboxes in map netgroup. Reason: No such key in map

    I am not observing this problem with any other YP maps. All machines
    are running RedHat Linux 7.3


    -akop
    Akop Pogosian Guest

  2. Similar Questions and Discussions

    1. why does this not work?
      This CFFILE was supposed to not overwrite an exsisting image with the same name but rather generate an error. but it did overwrite the image. for...
    2. How does it work?
      How does contribute work? The product explanation and tutorial was incomplete. Does the developer and the client both need to purchase the...
    3. Links don't work in Shockwave movie but work in p
      Hi, everyone: I encountered a strange problem. I downloaded a sample movie from Macromedia site and noticed that the same problem occurs what I had...
    4. ASP won't work at all
      Even attempting to load the simplest ASP page on an intranet I get the "Server Application Error - The server has encountered an error while...
    5. net use from Dos donīt work
      Hey to all, I tried several hours to get a connect from DOS (network boot disc) to my new XP Laptop. I used: net use Z:...
  3. #2

    Default Re: Netgroups don't seem to work.

    In comp.os.linux.setup Akop Pogosian <akopps+usenet@ocf.berkeley.edu> wrote:
    > For some reason, on one RedHat Linux cluster that I manage, the
    > netgroups don't seem to work. I can "ypcat netgroup" but I can't match
    > any entries in the netgroup map with ypmatch. For example:
    > # ypcat -k netgroup| grep pandaboxes
    > pandaboxes (panda,,) (panda1,,) (panda2,,) (panda3,,) (panda4,,)
    > (panda5,,) (panda6,,) (panda7,,) (panda8,,) (panda9,,) (panda11,,)
    > (panda12,,) (panda13,,) (panda14,,) (panda15,,) (panda16,,)
    > (panda17,,) (panda18,,)
    > # ypmatch pandaboxes netgroup
    > Can't match key pandaboxes in map netgroup. Reason: No such key in map
    > I am not observing this problem with any other YP maps. All machines
    > are running RedHat Linux 7.3
    No real answer, just a data point...

    jbuchana@nemo$ ypcat -k netgroup
    all_hosts (zaphod,,) (flenser,,) (cerberus,,) (hobbes,,) (nessus,,) (zaphod.buchanan1.net,,) (flenser.buchanan1.net,,) (cerberus.buchanan1.net,,) (hobbes.buchanan1.net,,) (nessus.buchanan1.net,,) (nemo,,) (nemo.buchanan1.net,,)
    jbuchana@nemo$ ypmatch all_hosts netgroup
    (zaphod,,) (flenser,,) (cerberus,,) (hobbes,,) (nessus,,) (zaphod.buchanan1.net,,) (flenser.buchanan1.net,,) (cerberus.buchanan1.net,,) (hobbes.buchanan1.net,,) (nessus.buchanan1.net,,) (nemo,,) (nemo.buchanan1.net,,)
    jbuchana@nemo$

    These are a mix of Redhat 9 and Mandrake 7.2 and 8.21 machines. I did
    the ypmatch on a RH 9 machine, and the ypserver is a RH9 machine.

    At work I have 11 (supposed to be 12, one is still lost in shipping)
    RH 7.3 machines that that work fine with far more complex netgroup
    maps. They are served by HPUX 11.x NIS slaves.

    I must say that sometimes when I use the @all_hosts in /etc/exports
    here at home, it doesn't always work at boot time, and I have to
    manually re-export. That never seems to happen at work.

    --
    Jim Buchanan [email]jbuchana@buchanan1.net[/email] [email]jbuchana@yahoo.com[/email]
    =================== [url]http://www.buchanan1.net/[/url] ==========================
    "Remember that if computers are networked, they can talk to each other.
    That is useful when you make an example of one." -ASR faq
    ================= Visit: [url]http://www.thehungersite.com[/url] ==================
    jbuchana@buchanan1.net Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139