<?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 Samba 3.0 with Active Directory net ads join problem in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/samba-3-0-with-active-directory-net-ads-join-problem/m-p/3133333#M75037</link>
    <description>We have a AD-domain using Windows 2003 servers. We want to join our RH ES3 Samba (3.0.0-14.3E that was shipped with ES3) to our AD-domain. We get no error when running kinit but when trying to join the domain with "net ads join -U username" we don't get any successful nor errormessage. If you look at the log at the DC we get the following:&lt;BR /&gt;-----CUT-----&lt;BR /&gt;Pre-authentication failed:&lt;BR /&gt;  User Name: username&lt;BR /&gt;  User ID:  PPM\username&lt;BR /&gt;  Service Name: krbtgt/DOMAIN.COM&lt;BR /&gt;  Pre-Authentication Type: 0x0&lt;BR /&gt;  Failure Code: 0x19&lt;BR /&gt;  Client Address: 192.168.xx.xx&lt;BR /&gt;-----CUT-----&lt;BR /&gt;The user we're using is a Domain Admin. We've followed most of the guides on the net and it should simply work with net ads join. We have also tried pre-creating a computer account in the AD domain for the server. In the configfiles below we also tried specifying a password server = in and workgroup = DOMAIN in smb.conf. There's no info in the krb5-logs.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/krb5.conf&lt;BR /&gt;[logging]&lt;BR /&gt;default = FILE:/var/log/krb5libs.log&lt;BR /&gt;kdc = FILE:/var/log/krb5kdc.log&lt;BR /&gt;admin_server = FILE:/var/log/kadmind.log &lt;BR /&gt;[libdefaults]&lt;BR /&gt;ticket_lifetime = 24000&lt;BR /&gt;default_realm = DOMAIN.COM&lt;BR /&gt;dns_lookup_realm = false&lt;BR /&gt;dns_lookup_kdc = false &lt;BR /&gt;[realms]&lt;BR /&gt;DOMAIN.COM = {&lt;BR /&gt;kdc = dcserver1.domain.com:88&lt;BR /&gt;admin_server = kerberos.example.com:749&lt;BR /&gt;default_domain = domain.com&lt;BR /&gt;} &lt;BR /&gt;[domain_realm]&lt;BR /&gt;.domain.com = DOMAIN.COM&lt;BR /&gt;domain.com = DOMAIN.COM&lt;BR /&gt;[kdc]&lt;BR /&gt;profile = /var/kerberos/krb5kdc/kdc.conf &lt;BR /&gt;[appdefaults]&lt;BR /&gt;pam = {&lt;BR /&gt;debug = false&lt;BR /&gt;ticket_lifetime = 36000&lt;BR /&gt;renew_lifetime = 36000&lt;BR /&gt;forwardable = true&lt;BR /&gt;krb4_convert = false&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/samba/smb.conf&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt; netbios name = SAMBASERVER&lt;BR /&gt; server string = Linux Samba server&lt;BR /&gt; realm = DOMAIN.COM&lt;BR /&gt; security = ADS&lt;BR /&gt; password server = *&lt;BR /&gt; encrypt passwords = Yes&lt;BR /&gt; syslog = 0&lt;BR /&gt; log file = /var/log/samba/log.%m&lt;BR /&gt; max log size = 0&lt;BR /&gt; local master = No&lt;BR /&gt; read only = No&lt;BR /&gt; case sensitive = Yes&lt;BR /&gt; dos filetime resolution = Yes&lt;BR /&gt; log level = 2&lt;BR /&gt;</description>
    <pubDate>Tue, 02 Dec 2003 05:34:00 GMT</pubDate>
    <dc:creator>Jonas Back_2</dc:creator>
    <dc:date>2003-12-02T05:34:00Z</dc:date>
    <item>
      <title>Samba 3.0 with Active Directory net ads join problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/samba-3-0-with-active-directory-net-ads-join-problem/m-p/3133333#M75037</link>
      <description>We have a AD-domain using Windows 2003 servers. We want to join our RH ES3 Samba (3.0.0-14.3E that was shipped with ES3) to our AD-domain. We get no error when running kinit but when trying to join the domain with "net ads join -U username" we don't get any successful nor errormessage. If you look at the log at the DC we get the following:&lt;BR /&gt;-----CUT-----&lt;BR /&gt;Pre-authentication failed:&lt;BR /&gt;  User Name: username&lt;BR /&gt;  User ID:  PPM\username&lt;BR /&gt;  Service Name: krbtgt/DOMAIN.COM&lt;BR /&gt;  Pre-Authentication Type: 0x0&lt;BR /&gt;  Failure Code: 0x19&lt;BR /&gt;  Client Address: 192.168.xx.xx&lt;BR /&gt;-----CUT-----&lt;BR /&gt;The user we're using is a Domain Admin. We've followed most of the guides on the net and it should simply work with net ads join. We have also tried pre-creating a computer account in the AD domain for the server. In the configfiles below we also tried specifying a password server = in and workgroup = DOMAIN in smb.conf. There's no info in the krb5-logs.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/krb5.conf&lt;BR /&gt;[logging]&lt;BR /&gt;default = FILE:/var/log/krb5libs.log&lt;BR /&gt;kdc = FILE:/var/log/krb5kdc.log&lt;BR /&gt;admin_server = FILE:/var/log/kadmind.log &lt;BR /&gt;[libdefaults]&lt;BR /&gt;ticket_lifetime = 24000&lt;BR /&gt;default_realm = DOMAIN.COM&lt;BR /&gt;dns_lookup_realm = false&lt;BR /&gt;dns_lookup_kdc = false &lt;BR /&gt;[realms]&lt;BR /&gt;DOMAIN.COM = {&lt;BR /&gt;kdc = dcserver1.domain.com:88&lt;BR /&gt;admin_server = kerberos.example.com:749&lt;BR /&gt;default_domain = domain.com&lt;BR /&gt;} &lt;BR /&gt;[domain_realm]&lt;BR /&gt;.domain.com = DOMAIN.COM&lt;BR /&gt;domain.com = DOMAIN.COM&lt;BR /&gt;[kdc]&lt;BR /&gt;profile = /var/kerberos/krb5kdc/kdc.conf &lt;BR /&gt;[appdefaults]&lt;BR /&gt;pam = {&lt;BR /&gt;debug = false&lt;BR /&gt;ticket_lifetime = 36000&lt;BR /&gt;renew_lifetime = 36000&lt;BR /&gt;forwardable = true&lt;BR /&gt;krb4_convert = false&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/samba/smb.conf&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt; netbios name = SAMBASERVER&lt;BR /&gt; server string = Linux Samba server&lt;BR /&gt; realm = DOMAIN.COM&lt;BR /&gt; security = ADS&lt;BR /&gt; password server = *&lt;BR /&gt; encrypt passwords = Yes&lt;BR /&gt; syslog = 0&lt;BR /&gt; log file = /var/log/samba/log.%m&lt;BR /&gt; max log size = 0&lt;BR /&gt; local master = No&lt;BR /&gt; read only = No&lt;BR /&gt; case sensitive = Yes&lt;BR /&gt; dos filetime resolution = Yes&lt;BR /&gt; log level = 2&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Dec 2003 05:34:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/samba-3-0-with-active-directory-net-ads-join-problem/m-p/3133333#M75037</guid>
      <dc:creator>Jonas Back_2</dc:creator>
      <dc:date>2003-12-02T05:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Samba 3.0 with Active Directory net ads join problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/samba-3-0-with-active-directory-net-ads-join-problem/m-p/3133334#M75038</link>
      <description>I dont run ES3 or Samba 3&lt;BR /&gt;&lt;BR /&gt;So I am afraid I am only able to search for some info that maybe of help ?&lt;BR /&gt;&lt;BR /&gt;This is what a search on Failure code revealed, this is exactly like your problem but could help you along !&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.google.be/groups?hl=en&amp;amp;lr=&amp;amp;ie=UTF-8&amp;amp;oe=UTF-8&amp;amp;threadm=wcZ4.1Zu.13%40gated-at.bofh.it&amp;amp;rnum=1&amp;amp;prev=/groups%3Fq%3Dsamba%2B%2522%2BFailure%2BCode:%2B0x19%2522%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3DwcZ4.1Zu.13%2540gated-at.bofh.it%26rnum%3D1" target="_blank"&gt;http://www.google.be/groups?hl=en&amp;amp;lr=&amp;amp;ie=UTF-8&amp;amp;oe=UTF-8&amp;amp;threadm=wcZ4.1Zu.13%40gated-at.bofh.it&amp;amp;rnum=1&amp;amp;prev=/groups%3Fq%3Dsamba%2B%2522%2BFailure%2BCode:%2B0x19%2522%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3DwcZ4.1Zu.13%2540gated-at.bofh.it%26rnum%3D1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hopefully this will help and others will be able to help you more .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;J-P&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Dec 2003 07:40:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/samba-3-0-with-active-directory-net-ads-join-problem/m-p/3133334#M75038</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-12-02T07:40:52Z</dc:date>
    </item>
  </channel>
</rss>

