<?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 Re: Limit non-samba access using Winbind? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/limit-non-samba-access-using-winbind/m-p/3758552#M784833</link>
    <description>Hi George,&lt;BR /&gt;&lt;BR /&gt;Most of the time I get the opposite question:  How can I allow HP-UX logon/InetSvcs access using winbind, and the answer is that you cannot unless using pam_winbind, which we are not delivering with HP CIFS Server (yet).  But you can always compile Opensource Samba --with-pam_winbind and do-it-yourself.&lt;BR /&gt;&lt;BR /&gt;So for your question, you cannot get logon/InetSvcs access without a PAM module for winbind (which we do not have), and then configure it in pam.conf.  For nsswitch, the current winbind entries are just for the UID/GID lookup for getpwent.  I believe that "template shell" is intended for pam_winbind usage.&lt;BR /&gt;&lt;BR /&gt;On a related note, when addressing this issue for unified login users (using the same LDAP/ADS user container for both HP-UX logon/InetSvc *and* CIFS/Samba) I recommend just setting the RFC 2307 attribute loginShell to /bin/false, or using pam_authz.&lt;BR /&gt;&lt;BR /&gt;Eric Roseme</description>
    <pubDate>Fri, 24 Mar 2006 13:49:27 GMT</pubDate>
    <dc:creator>eric roseme</dc:creator>
    <dc:date>2006-03-24T13:49:27Z</dc:date>
    <item>
      <title>Limit non-samba access using Winbind?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limit-non-samba-access-using-winbind/m-p/3758549#M784830</link>
      <description>Trying to find the best way to implement Samba in our environment.&lt;BR /&gt;&lt;BR /&gt;Using Active Directory integration and Winbind I can control access to the specific shares we want to create by using the Active Directory groups to limit access.&lt;BR /&gt;&lt;BR /&gt;Since doing this requires adding winbind into nsswitch for passwd and group my question becomes ... what is the easiest/safest way to NOT compromise security on the server.&lt;BR /&gt;&lt;BR /&gt;Specifically we only want a defined set of users (i.e. the ones with local accounts for now) to have access to the server via telnet, ftp, etc.&lt;BR /&gt;&lt;BR /&gt;For Linux PAM is more granular and I can think of some ways to do this, but am not sure how this translates to HP-UX.&lt;BR /&gt;&lt;BR /&gt;Anyone else dealing with this and suggestions on how to get around?</description>
      <pubDate>Fri, 24 Mar 2006 11:03:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limit-non-samba-access-using-winbind/m-p/3758549#M784830</guid>
      <dc:creator>George A Bodnar</dc:creator>
      <dc:date>2006-03-24T11:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Limit non-samba access using Winbind?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limit-non-samba-access-using-winbind/m-p/3758550#M784831</link>
      <description>I believe that the:&lt;BR /&gt;&lt;BR /&gt;template shell = /bin/false&lt;BR /&gt;&lt;BR /&gt;Parameter in the smb.conf file may help. If this shell is not known by the ftp server, ftp session will also be refused.</description>
      <pubDate>Fri, 24 Mar 2006 11:22:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limit-non-samba-access-using-winbind/m-p/3758550#M784831</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-03-24T11:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Limit non-samba access using Winbind?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limit-non-samba-access-using-winbind/m-p/3758551#M784832</link>
      <description>I thought of the "dummy" shell too, but looking to see if there is a more elegant way to do this.</description>
      <pubDate>Fri, 24 Mar 2006 12:57:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limit-non-samba-access-using-winbind/m-p/3758551#M784832</guid>
      <dc:creator>George A Bodnar</dc:creator>
      <dc:date>2006-03-24T12:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Limit non-samba access using Winbind?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limit-non-samba-access-using-winbind/m-p/3758552#M784833</link>
      <description>Hi George,&lt;BR /&gt;&lt;BR /&gt;Most of the time I get the opposite question:  How can I allow HP-UX logon/InetSvcs access using winbind, and the answer is that you cannot unless using pam_winbind, which we are not delivering with HP CIFS Server (yet).  But you can always compile Opensource Samba --with-pam_winbind and do-it-yourself.&lt;BR /&gt;&lt;BR /&gt;So for your question, you cannot get logon/InetSvcs access without a PAM module for winbind (which we do not have), and then configure it in pam.conf.  For nsswitch, the current winbind entries are just for the UID/GID lookup for getpwent.  I believe that "template shell" is intended for pam_winbind usage.&lt;BR /&gt;&lt;BR /&gt;On a related note, when addressing this issue for unified login users (using the same LDAP/ADS user container for both HP-UX logon/InetSvc *and* CIFS/Samba) I recommend just setting the RFC 2307 attribute loginShell to /bin/false, or using pam_authz.&lt;BR /&gt;&lt;BR /&gt;Eric Roseme</description>
      <pubDate>Fri, 24 Mar 2006 13:49:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limit-non-samba-access-using-winbind/m-p/3758552#M784833</guid>
      <dc:creator>eric roseme</dc:creator>
      <dc:date>2006-03-24T13:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Limit non-samba access using Winbind?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limit-non-samba-access-using-winbind/m-p/3758553#M784834</link>
      <description>Excellent - my ignorance was the answer :)&lt;BR /&gt;&lt;BR /&gt;That makes perfect sense - if the PAM modules aren't changed access isn't modified.&lt;BR /&gt;&lt;BR /&gt;I'm not as familiar with the HP setup for pam vs. Linux but looking now I do see it just says libpam_unix&lt;BR /&gt;&lt;BR /&gt;Thank you</description>
      <pubDate>Fri, 24 Mar 2006 14:27:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limit-non-samba-access-using-winbind/m-p/3758553#M784834</guid>
      <dc:creator>George A Bodnar</dc:creator>
      <dc:date>2006-03-24T14:27:06Z</dc:date>
    </item>
  </channel>
</rss>

