<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic LDAP netgroup problem (Continued) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-netgroup-problem-continued/m-p/3513370#M218616</link>
    <description>I have been having exactly the same problem as described in the "LDAP netgroup problem" thread by Alec Pringle 3/2/2005.  &lt;BR /&gt;&lt;BR /&gt;I tried the solution from that thread and at first glance it appears to work. I can now access the userids in the ldap directory.  The problem is I can now access ALL the userids in the directory.  The solution essentially turns off the netgroups.   &lt;BR /&gt;&lt;BR /&gt;I need to restrict access to the client to only those users in teh directory who are members of the netgroup.&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
    <pubDate>Tue, 29 Mar 2005 08:17:21 GMT</pubDate>
    <dc:creator>Glenn_73</dc:creator>
    <dc:date>2005-03-29T08:17:21Z</dc:date>
    <item>
      <title>LDAP netgroup problem (Continued)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-netgroup-problem-continued/m-p/3513370#M218616</link>
      <description>I have been having exactly the same problem as described in the "LDAP netgroup problem" thread by Alec Pringle 3/2/2005.  &lt;BR /&gt;&lt;BR /&gt;I tried the solution from that thread and at first glance it appears to work. I can now access the userids in the ldap directory.  The problem is I can now access ALL the userids in the directory.  The solution essentially turns off the netgroups.   &lt;BR /&gt;&lt;BR /&gt;I need to restrict access to the client to only those users in teh directory who are members of the netgroup.&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Tue, 29 Mar 2005 08:17:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-netgroup-problem-continued/m-p/3513370#M218616</guid>
      <dc:creator>Glenn_73</dc:creator>
      <dc:date>2005-03-29T08:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP netgroup problem (Continued)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-netgroup-problem-continued/m-p/3513371#M218617</link>
      <description>On the client, where you want to restice the access, you need to modify the /etc/passwd file as follows.&lt;BR /&gt;&lt;BR /&gt;+@group_name&lt;BR /&gt;&lt;BR /&gt;If you have + in /etc/passwd file, then all users will get access on this host.&lt;BR /&gt;&lt;BR /&gt;man passwd for details.</description>
      <pubDate>Tue, 29 Mar 2005 08:54:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-netgroup-problem-continued/m-p/3513371#M218617</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-29T08:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP netgroup problem (Continued)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-netgroup-problem-continued/m-p/3513372#M218618</link>
      <description>Yes indeed. My /etc/passwd has the +@group_name: at the end.   &lt;BR /&gt;&lt;BR /&gt;With the "passwd: compat" etc in the nsswitch it seems to recognize that it has to deal with netgroups.  With the nsswitch set to "passwd: files [NOTFOUND] ldap" it appears to ignore the +@group thing and allow access to all the userids in the ldap directory.&lt;BR /&gt;&lt;BR /&gt;This behavior make sense to me.&lt;BR /&gt;&lt;BR /&gt;Perhaps another hint:&lt;BR /&gt;&lt;BR /&gt;The finger comand appears to understand the netgroups and who is in it.  Other commands like groups and su do not.   In other words: when I have the "passwd:compat" in the nsswitch, and the +@group in the /etc/passwd, a finger will only show the userids in the valid netgroups.   Other commands respond with "no such user".&lt;BR /&gt;&lt;BR /&gt;As with Alec Pringle's thread,  this all seems to work OK on my Solaris clients.&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Mar 2005 09:19:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-netgroup-problem-continued/m-p/3513372#M218618</guid>
      <dc:creator>Glenn_73</dc:creator>
      <dc:date>2005-03-29T09:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP netgroup problem (Continued)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-netgroup-problem-continued/m-p/3513373#M218619</link>
      <description>You certaily do not need&lt;BR /&gt;passwd : compact (It is for file and nis environment.)&lt;BR /&gt;&lt;BR /&gt;You need as follows.&lt;BR /&gt;&lt;BR /&gt;passwd: files [NOTFOUND=continue] ldap&lt;BR /&gt;group : file [NOTFOUND=continue] ldap&lt;BR /&gt;netgroup : ldap</description>
      <pubDate>Tue, 29 Mar 2005 09:24:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-netgroup-problem-continued/m-p/3513373#M218619</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-29T09:24:19Z</dc:date>
    </item>
  </channel>
</rss>

