<?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: samba authentication in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581917#M230076</link>
    <description>BTW - did you set &lt;BR /&gt;&lt;BR /&gt;password server = NTDCSERVER1, NTDCSERVER2, etc&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Fri, 15 Jul 2005 05:38:19 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2005-07-15T05:38:19Z</dc:date>
    <item>
      <title>samba authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581909#M230068</link>
      <description>Curretly we have or HP systems configured as Domain members (Windows PDC).  This allows our user to access file shares on the system (only if there are defined to the HP system).  I would like to remove this restriction ( I would like the users to be able to access these shares with out having to be defined on the HP systems).  What would be the best way to authenticate these users via windows PDC</description>
      <pubDate>Wed, 13 Jul 2005 12:51:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581909#M230068</guid>
      <dc:creator>Smucker</dc:creator>
      <dc:date>2005-07-13T12:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: samba authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581910#M230069</link>
      <description>You need to set your smb.conf file right. to authenticate from windows PDC, you would require one of the following as security directive.&lt;BR /&gt;&lt;BR /&gt;security="windows_pdc_domain"&lt;BR /&gt;or&lt;BR /&gt;security=server&lt;BR /&gt;&lt;BR /&gt;Check following document, it is very helpful.&lt;BR /&gt;&lt;A href="http://www.oreilly.com/catalog/samba/chapter/book" target="_blank"&gt;http://www.oreilly.com/catalog/samba/chapter/book&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 13 Jul 2005 13:17:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581910#M230069</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-07-13T13:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: samba authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581911#M230070</link>
      <description>We already run security="Domain".  However this still forces us to define the user to unix (or the smbpasswd file) but authenticates password via the PDC.  The defining of the users to unix is what I want to get away from....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I will read this book</description>
      <pubDate>Thu, 14 Jul 2005 02:58:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581911#M230070</guid>
      <dc:creator>Smucker</dc:creator>
      <dc:date>2005-07-14T02:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: samba authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581912#M230071</link>
      <description>You have to use winbind for this.&lt;BR /&gt;&lt;BR /&gt;see man winbindd&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2005 03:31:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581912#M230071</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2005-07-14T03:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: samba authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581913#M230072</link>
      <description>Can you please elaborate on this.&lt;BR /&gt;&lt;BR /&gt;I have been able to find much information on winbind/samba&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 14 Jul 2005 05:38:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581913#M230072</guid>
      <dc:creator>Smucker</dc:creator>
      <dc:date>2005-07-14T05:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: samba authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581914#M230073</link>
      <description>Use winbind:&lt;BR /&gt;&lt;BR /&gt;Winbind - only works in Samba 3 and up.&lt;BR /&gt;&lt;BR /&gt;First, backup old files:&lt;BR /&gt;&lt;BR /&gt;cp -p /etc/opt/samba/smb.conf /etc/opt/samba/smb.conf.bak&lt;BR /&gt;cp -p /etc/opt/samba/username.map /etc/opt/samba/username.map.bak&lt;BR /&gt;&lt;BR /&gt;Install new Samba (if needed)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Verify it is installed:&lt;BR /&gt;&lt;BR /&gt;swlist |grep CIFS&lt;BR /&gt;&lt;BR /&gt;Add to windbind to /etc/nsswitch.conf:&lt;BR /&gt;&lt;BR /&gt;passwd:       files winbind&lt;BR /&gt;group:        files winbind&lt;BR /&gt;&lt;BR /&gt;Add or change /etc/opt/samba/smb.conf&lt;BR /&gt;&lt;BR /&gt;        security = DOMAIN&lt;BR /&gt;&lt;BR /&gt;        idmap uid = 10000-30000&lt;BR /&gt;        idmap gid = 10000-30000&lt;BR /&gt;        template primary group = users&lt;BR /&gt;        winbind separator = +&lt;BR /&gt;&lt;BR /&gt;as well as valid users, example:&lt;BR /&gt;&lt;BR /&gt;        valid users = WINDOWSDOMAIN+user1, WINDOWSDOMAIN+user2&lt;BR /&gt;&lt;BR /&gt;then, for each share, set the valid users as well, example:&lt;BR /&gt;&lt;BR /&gt;[src]&lt;BR /&gt;        path = /usr/local/src&lt;BR /&gt;        valid users = WINDOWSDOMAIN+user1, WINDOWSDOMAIN+user2&lt;BR /&gt;        force user = genericunixid&lt;BR /&gt;&lt;BR /&gt;Note: force user sets the Unix permissions to the uid of that user - so it must be a Unix id.&lt;BR /&gt;&lt;BR /&gt;zero out the username.map file - no longer needed.&lt;BR /&gt;&lt;BR /&gt;May or may not need to re-join the WINDOWSDOMAIN domain:&lt;BR /&gt;&lt;BR /&gt;/opt/samba/bin/net rpc join -U administrator&lt;BR /&gt;&lt;BR /&gt;Start Samba and windbind from either SWAT ( http://server:901 ) or command line:&lt;BR /&gt;&lt;BR /&gt;/opt/samba/bin/startsmb -w&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Verify you can connect from Windows by:&lt;BR /&gt;&lt;BR /&gt;Start -&amp;gt; Run -&amp;gt; \\server&lt;BR /&gt;&lt;BR /&gt;Note: you will need IPC share for \\server:&lt;BR /&gt;&lt;BR /&gt;[IPC$]&lt;BR /&gt;        hosts allow = 192.168.163.0/24 127.0.0.1&lt;BR /&gt;        hosts deny = 0.0.0.0/0&lt;BR /&gt;        valid users = WINDOWSDOMAIN+gwild&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check log files on Samba Server in /var/opt/samba if it doesn't seem to be working.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2005 08:14:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581914#M230073</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-07-14T08:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: samba authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581915#M230074</link>
      <description>Thanks,  however as previously stated I did not  want to have to define these users&lt;BR /&gt;( valid users = WINDOWSDOMAIN+user1, WINDOWSDOMAIN+user2) to the unix machine I would samba to validate these users  automatically...no signon/password from windows .&lt;BR /&gt;&lt;BR /&gt;I think winbind is the answer but I need to get it working (under LINUX).  I tried your steps but it is still missing something.&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2005 10:21:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581915#M230074</guid>
      <dc:creator>Smucker</dc:creator>
      <dc:date>2005-07-14T10:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: samba authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581916#M230075</link>
      <description>Well - if you don't want to validate with Windows - then you don't need winbind....&lt;BR /&gt;&lt;BR /&gt;You could just use SECURITY=USER and use smbpasswd and map users to a Unix id (could be just one if you use a username.map).&lt;BR /&gt;&lt;BR /&gt;But your original question stated:&lt;BR /&gt;"What would be the best way to authenticate these users via windows PDC"&lt;BR /&gt;&lt;BR /&gt;So I'm a bit confused....sorry...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2005 21:26:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581916#M230075</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-07-14T21:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: samba authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581917#M230076</link>
      <description>BTW - did you set &lt;BR /&gt;&lt;BR /&gt;password server = NTDCSERVER1, NTDCSERVER2, etc&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 15 Jul 2005 05:38:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581917#M230076</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-07-15T05:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: samba authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581918#M230077</link>
      <description>Thanks for all the responses.  My goal for this was to eliminate the need to manage users  either on the Linux  or the Samba side.  I wanted to eliminate the double handling of user accounts (NT &amp;amp; Linux).  By Using winbind and PAM I was able to do so. thanks for all the suggestions.</description>
      <pubDate>Fri, 15 Jul 2005 07:55:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-authentication/m-p/3581918#M230077</guid>
      <dc:creator>Smucker</dc:creator>
      <dc:date>2005-07-15T07:55:44Z</dc:date>
    </item>
  </channel>
</rss>

