<?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 install with AD authentication in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-install-with-ad-authentication/m-p/3906829#M283902</link>
    <description>I wrestled with this earlier this year and kept some notes on it, hopefully they help. Keep in mind that versions may have changed and your specific config may differ. Two of the main issues I had were trying to use recent version of non-HP Samba rather than the HP CIFS Server, and another pain was setting up Kerberos (the case sensitivity).&lt;BR /&gt;&lt;BR /&gt;Normally I remove any of our site specific info (domain name, etc) but I'm not in the mood.&lt;BR /&gt;&lt;BR /&gt;Geoff's thread was definitely a major reason I was successful though...so a long overdue thanks to Geoff for his thread.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;***from my notes***&lt;BR /&gt;&lt;BR /&gt;These are the steps that I needed to make to get CIFS to use ADS to authenticate users.&lt;BR /&gt;&lt;BR /&gt;Required Software:&lt;BR /&gt;CIFS A.02.02 (released 1/06) or greater&lt;BR /&gt;Kerberos v5 (1.3.5.03) Client&lt;BR /&gt;(see Kerberos patch requirements, which include: PHNE_27796 and PHSS_33384)&lt;BR /&gt;LDAP-UX Integration&lt;BR /&gt;&lt;BR /&gt;Steps (refer to- &lt;A href="http://docs.hp.com/en/B8725-90093/ch05s01.html" target="_blank"&gt;http://docs.hp.com/en/B8725-90093/ch05s01.html&lt;/A&gt; for HP version):&lt;BR /&gt;- Install or verify installation of products listed above, Kerberos patches should be installed first.&lt;BR /&gt;- Configure the /etc/krb5.conf file (the example below is from our test server), CASE SENSITIVE!&lt;BR /&gt;&lt;BR /&gt;root@dqvcord1 [ /etc ]&lt;BR /&gt;# cat /etc/krb5.conf&lt;BR /&gt;[libdefaults]&lt;BR /&gt;default_realm = DENTAQUEST.COM&lt;BR /&gt;default_tkt_enctypes = DES-CBC-CRC&lt;BR /&gt;default_tgs_enctypes = DES-CBC-CRC&lt;BR /&gt;ccache_type = 2&lt;BR /&gt;&lt;BR /&gt;[realms]&lt;BR /&gt;DENTAQUEST.COM =  {&lt;BR /&gt;kdc = dqvdc03.dentaquest.com:88&lt;BR /&gt;admin_server = dqvdc03.dentaquest.com&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;[domain_realm]&lt;BR /&gt;dentaquest.com = DENTAQUEST.COM&lt;BR /&gt;.dentaquest.com = DENTAQUEST.COM&lt;BR /&gt;&lt;BR /&gt;[logging]&lt;BR /&gt;kdc = FILE:/var/adm/krb5kdc.log&lt;BR /&gt;admin_server = FILE:/var/log/kadmin.log&lt;BR /&gt;default = FILE:/var/log/krb5lib.log&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- As root run kinit and check Kerberos configuration&lt;BR /&gt;# kinit jmallett or # kinit jmallett@DENTAQUEST.COM&lt;BR /&gt;&lt;YOU will="" be="" prompted="" for="" your="" windows="" password=""&gt;&lt;BR /&gt;&lt;BR /&gt;- Set up the /etc/opt/samba/smb.conf file manually (or run /opt/samba/bin/samba_setup&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;       workgroup = DDPMA&lt;BR /&gt;       realm = DENTAQUEST.COM&lt;BR /&gt;       server string = DQVCORD1&lt;BR /&gt;       security = ADS&lt;BR /&gt;       client schannel = No&lt;BR /&gt;       password server = dqvdc03, dqvdc02&lt;BR /&gt;       log level = 2&lt;BR /&gt;       log file = /var/opt/samba/log.%m&lt;BR /&gt;       max log size = 10000&lt;BR /&gt;       keepalive = 0&lt;BR /&gt;       socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192&lt;BR /&gt;       load printers = No&lt;BR /&gt;       show add printer wizard = No&lt;BR /&gt;       preferred master = No&lt;BR /&gt;       local master = No&lt;BR /&gt;       domain master = No&lt;BR /&gt;       wins server = dqvdc02&lt;BR /&gt;&lt;BR /&gt;root@dqvcord1 [ /etc ]&lt;BR /&gt;# cat /etc/opt/samba/smb.conf&lt;BR /&gt;# Samba config file created using SWAT&lt;BR /&gt;# from 10.10.1.43 (10.10.1.43)&lt;BR /&gt;# Date: 2006/02/01 20:41:56&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;       workgroup = DDPMA&lt;BR /&gt;       realm = DENTAQUEST.COM&lt;BR /&gt;       server string = DQVCORD1&lt;BR /&gt;       security = ADS&lt;BR /&gt;       client schannel = No&lt;BR /&gt;       password server = dqvdc03, dqvdc02&lt;BR /&gt;       log level = 2&lt;BR /&gt;       log file = /var/opt/samba/log.%m&lt;BR /&gt;       max log size = 10000&lt;BR /&gt;       keepalive = 0&lt;BR /&gt;       socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192&lt;BR /&gt;       load printers = No&lt;BR /&gt;       show add printer wizard = No&lt;BR /&gt;       preferred master = No&lt;BR /&gt;       local master = No&lt;BR /&gt;       domain master = No&lt;BR /&gt;       wins server = dqvdc02&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;       winbind enum users = No&lt;BR /&gt;       winbind enum groups = No&lt;BR /&gt;       read only = No&lt;BR /&gt;       create mask = 0664&lt;BR /&gt;       force create mode = 0664&lt;BR /&gt;       directory mask = 0775&lt;BR /&gt;       short preserve case = No&lt;BR /&gt;       dos filetime resolution = Yes&lt;BR /&gt;&lt;BR /&gt;[Test]&lt;BR /&gt;       path = /testing&lt;BR /&gt;       valid users = DDPMA+jmallett&lt;BR /&gt;&lt;BR /&gt;[ECSPROD]&lt;BR /&gt;       path = /download/ecsprod&lt;BR /&gt;       valid users = DDPMA+ecsprod, DDPMA+jmallett&lt;BR /&gt;&lt;BR /&gt;[AP]&lt;BR /&gt;       path = /download/AP&lt;BR /&gt;       valid users = DDPMA+jmallett, DDPMA+unixadmin&lt;BR /&gt;       read only = Yes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- Join the ADS domain manually by running:&lt;BR /&gt;# net ads join -U &lt;ADMINISTRATOR_ACCT&gt; or # net ads join -U administrator%password (use first to be prompted rather than typing pass in command line)&lt;BR /&gt;&lt;BR /&gt;- Depending on if you receive errors or not, you may want to update your /etc/nsswitch.conf file to include the following two lines:&lt;BR /&gt;passwd: files winbind&lt;BR /&gt;group: files winbind&lt;BR /&gt;&lt;BR /&gt;- Start Samba (multiple ways, but I use): /sbin/init.d/samba start&lt;BR /&gt;You can 'ps -ef | grep samba' to be sure smdb, nmdb, and winbindd are running.&lt;BR /&gt;&lt;BR /&gt;If nothing else, this might provide some direction.  Good luck.&lt;BR /&gt;&lt;BR /&gt;Jim&lt;/ADMINISTRATOR_ACCT&gt;&lt;/YOU&gt;</description>
    <pubDate>Fri, 01 Dec 2006 19:46:20 GMT</pubDate>
    <dc:creator>Jim Mallett</dc:creator>
    <dc:date>2006-12-01T19:46:20Z</dc:date>
    <item>
      <title>Samba install with AD authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-install-with-ad-authentication/m-p/3906827#M283900</link>
      <description>Can someone point me in to a Step-By-Step procedure on how to configure Samba to use AD authentication.&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Dec 2006 15:32:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-install-with-ad-authentication/m-p/3906827#M283900</guid>
      <dc:creator>Kevin McNamara_1</dc:creator>
      <dc:date>2006-12-01T15:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Samba install with AD authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-install-with-ad-authentication/m-p/3906828#M283901</link>
      <description>Certainly - look at my thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=949365" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=949365&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 01 Dec 2006 16:14:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-install-with-ad-authentication/m-p/3906828#M283901</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-12-01T16:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Samba install with AD authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-install-with-ad-authentication/m-p/3906829#M283902</link>
      <description>I wrestled with this earlier this year and kept some notes on it, hopefully they help. Keep in mind that versions may have changed and your specific config may differ. Two of the main issues I had were trying to use recent version of non-HP Samba rather than the HP CIFS Server, and another pain was setting up Kerberos (the case sensitivity).&lt;BR /&gt;&lt;BR /&gt;Normally I remove any of our site specific info (domain name, etc) but I'm not in the mood.&lt;BR /&gt;&lt;BR /&gt;Geoff's thread was definitely a major reason I was successful though...so a long overdue thanks to Geoff for his thread.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;***from my notes***&lt;BR /&gt;&lt;BR /&gt;These are the steps that I needed to make to get CIFS to use ADS to authenticate users.&lt;BR /&gt;&lt;BR /&gt;Required Software:&lt;BR /&gt;CIFS A.02.02 (released 1/06) or greater&lt;BR /&gt;Kerberos v5 (1.3.5.03) Client&lt;BR /&gt;(see Kerberos patch requirements, which include: PHNE_27796 and PHSS_33384)&lt;BR /&gt;LDAP-UX Integration&lt;BR /&gt;&lt;BR /&gt;Steps (refer to- &lt;A href="http://docs.hp.com/en/B8725-90093/ch05s01.html" target="_blank"&gt;http://docs.hp.com/en/B8725-90093/ch05s01.html&lt;/A&gt; for HP version):&lt;BR /&gt;- Install or verify installation of products listed above, Kerberos patches should be installed first.&lt;BR /&gt;- Configure the /etc/krb5.conf file (the example below is from our test server), CASE SENSITIVE!&lt;BR /&gt;&lt;BR /&gt;root@dqvcord1 [ /etc ]&lt;BR /&gt;# cat /etc/krb5.conf&lt;BR /&gt;[libdefaults]&lt;BR /&gt;default_realm = DENTAQUEST.COM&lt;BR /&gt;default_tkt_enctypes = DES-CBC-CRC&lt;BR /&gt;default_tgs_enctypes = DES-CBC-CRC&lt;BR /&gt;ccache_type = 2&lt;BR /&gt;&lt;BR /&gt;[realms]&lt;BR /&gt;DENTAQUEST.COM =  {&lt;BR /&gt;kdc = dqvdc03.dentaquest.com:88&lt;BR /&gt;admin_server = dqvdc03.dentaquest.com&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;[domain_realm]&lt;BR /&gt;dentaquest.com = DENTAQUEST.COM&lt;BR /&gt;.dentaquest.com = DENTAQUEST.COM&lt;BR /&gt;&lt;BR /&gt;[logging]&lt;BR /&gt;kdc = FILE:/var/adm/krb5kdc.log&lt;BR /&gt;admin_server = FILE:/var/log/kadmin.log&lt;BR /&gt;default = FILE:/var/log/krb5lib.log&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- As root run kinit and check Kerberos configuration&lt;BR /&gt;# kinit jmallett or # kinit jmallett@DENTAQUEST.COM&lt;BR /&gt;&lt;YOU will="" be="" prompted="" for="" your="" windows="" password=""&gt;&lt;BR /&gt;&lt;BR /&gt;- Set up the /etc/opt/samba/smb.conf file manually (or run /opt/samba/bin/samba_setup&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;       workgroup = DDPMA&lt;BR /&gt;       realm = DENTAQUEST.COM&lt;BR /&gt;       server string = DQVCORD1&lt;BR /&gt;       security = ADS&lt;BR /&gt;       client schannel = No&lt;BR /&gt;       password server = dqvdc03, dqvdc02&lt;BR /&gt;       log level = 2&lt;BR /&gt;       log file = /var/opt/samba/log.%m&lt;BR /&gt;       max log size = 10000&lt;BR /&gt;       keepalive = 0&lt;BR /&gt;       socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192&lt;BR /&gt;       load printers = No&lt;BR /&gt;       show add printer wizard = No&lt;BR /&gt;       preferred master = No&lt;BR /&gt;       local master = No&lt;BR /&gt;       domain master = No&lt;BR /&gt;       wins server = dqvdc02&lt;BR /&gt;&lt;BR /&gt;root@dqvcord1 [ /etc ]&lt;BR /&gt;# cat /etc/opt/samba/smb.conf&lt;BR /&gt;# Samba config file created using SWAT&lt;BR /&gt;# from 10.10.1.43 (10.10.1.43)&lt;BR /&gt;# Date: 2006/02/01 20:41:56&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;       workgroup = DDPMA&lt;BR /&gt;       realm = DENTAQUEST.COM&lt;BR /&gt;       server string = DQVCORD1&lt;BR /&gt;       security = ADS&lt;BR /&gt;       client schannel = No&lt;BR /&gt;       password server = dqvdc03, dqvdc02&lt;BR /&gt;       log level = 2&lt;BR /&gt;       log file = /var/opt/samba/log.%m&lt;BR /&gt;       max log size = 10000&lt;BR /&gt;       keepalive = 0&lt;BR /&gt;       socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192&lt;BR /&gt;       load printers = No&lt;BR /&gt;       show add printer wizard = No&lt;BR /&gt;       preferred master = No&lt;BR /&gt;       local master = No&lt;BR /&gt;       domain master = No&lt;BR /&gt;       wins server = dqvdc02&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;       winbind enum users = No&lt;BR /&gt;       winbind enum groups = No&lt;BR /&gt;       read only = No&lt;BR /&gt;       create mask = 0664&lt;BR /&gt;       force create mode = 0664&lt;BR /&gt;       directory mask = 0775&lt;BR /&gt;       short preserve case = No&lt;BR /&gt;       dos filetime resolution = Yes&lt;BR /&gt;&lt;BR /&gt;[Test]&lt;BR /&gt;       path = /testing&lt;BR /&gt;       valid users = DDPMA+jmallett&lt;BR /&gt;&lt;BR /&gt;[ECSPROD]&lt;BR /&gt;       path = /download/ecsprod&lt;BR /&gt;       valid users = DDPMA+ecsprod, DDPMA+jmallett&lt;BR /&gt;&lt;BR /&gt;[AP]&lt;BR /&gt;       path = /download/AP&lt;BR /&gt;       valid users = DDPMA+jmallett, DDPMA+unixadmin&lt;BR /&gt;       read only = Yes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- Join the ADS domain manually by running:&lt;BR /&gt;# net ads join -U &lt;ADMINISTRATOR_ACCT&gt; or # net ads join -U administrator%password (use first to be prompted rather than typing pass in command line)&lt;BR /&gt;&lt;BR /&gt;- Depending on if you receive errors or not, you may want to update your /etc/nsswitch.conf file to include the following two lines:&lt;BR /&gt;passwd: files winbind&lt;BR /&gt;group: files winbind&lt;BR /&gt;&lt;BR /&gt;- Start Samba (multiple ways, but I use): /sbin/init.d/samba start&lt;BR /&gt;You can 'ps -ef | grep samba' to be sure smdb, nmdb, and winbindd are running.&lt;BR /&gt;&lt;BR /&gt;If nothing else, this might provide some direction.  Good luck.&lt;BR /&gt;&lt;BR /&gt;Jim&lt;/ADMINISTRATOR_ACCT&gt;&lt;/YOU&gt;</description>
      <pubDate>Fri, 01 Dec 2006 19:46:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-install-with-ad-authentication/m-p/3906829#M283902</guid>
      <dc:creator>Jim Mallett</dc:creator>
      <dc:date>2006-12-01T19:46:20Z</dc:date>
    </item>
  </channel>
</rss>

