<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Using Samba in Linux-AD Integration</title>
	<atom:link href="http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/</link>
	<description>The weblog of an IT pro specializing in virtualization, storage, and servers</description>
	<pubDate>Mon, 15 Mar 2010 19:05:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: guoping</title>
		<link>http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/comment-page-1/#comment-47638</link>
		<dc:creator>guoping</dc:creator>
		<pubDate>Fri, 05 Mar 2010 15:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=389#comment-47638</guid>
		<description>The paramter 'use kerberos keytab = true' did not work on my RHEL client.

[root@ ]# net ads join -U Administrator
[2010/03/05 15:06:50,  0] param/loadparm.c:7444(lp_do_parameter)
  Ignoring unknown parameter "use kerberos keytab"
Enter Administrator's password:
Using short domain name -- ADTEST
Joined 'WODAO2' to realm 'adtest.corp.net'
No DNS domain configured for wodao2. Unable to perform DNS Update.
DNS update failed!

Here is testparm output (unknown parameter):

[root@wodao2 pam.d]# testparm
Load smb config files from /etc/samba/smb.conf
Unknown parameter encountered: "use kerberos keytab"
Ignoring unknown parameter "use kerberos keytab"
Loaded services file OK.</description>
		<content:encoded><![CDATA[<p>The paramter &#8216;use kerberos keytab = true&#8217; did not work on my RHEL client.</p>
<p>[root@ ]# net ads join -U Administrator<br />
[2010/03/05 15:06:50,  0] param/loadparm.c:7444(lp_do_parameter)<br />
  Ignoring unknown parameter &#8220;use kerberos keytab&#8221;<br />
Enter Administrator&#8217;s password:<br />
Using short domain name &#8212; ADTEST<br />
Joined &#8216;WODAO2&#8242; to realm &#8216;adtest.corp.net&#8217;<br />
No DNS domain configured for wodao2. Unable to perform DNS Update.<br />
DNS update failed!</p>
<p>Here is testparm output (unknown parameter):</p>
<p>[root@wodao2 pam.d]# testparm<br />
Load smb config files from /etc/samba/smb.conf<br />
Unknown parameter encountered: &#8220;use kerberos keytab&#8221;<br />
Ignoring unknown parameter &#8220;use kerberos keytab&#8221;<br />
Loaded services file OK.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JohnJ</title>
		<link>http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/comment-page-1/#comment-42593</link>
		<dc:creator>JohnJ</dc:creator>
		<pubDate>Wed, 03 Dec 2008 22:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=389#comment-42593</guid>
		<description>Win2k3 and Win2k3 R2 do not appear to support the service principal credentials as you would expect.

A samba net ads join will create a keytab, will populate it with SPNs, will create an AD computer account, and will populate the serviceprincipalnames field for it -- however, I have not found a mechanism by which they are directly usable.

IE: kinit -kt /etc/krb5.keytab host/hostname.myfqdn should work, but with SPNs it fails.

What apparently needs to be done, and what ktpass does, is to map the userprincipalname under the account, but unfortunately AD only supports one userprincipalname per user account.

You can create a valid keytab entru by doing net ads join and using the createupn field accordingly, it would seem.</description>
		<content:encoded><![CDATA[<p>Win2k3 and Win2k3 R2 do not appear to support the service principal credentials as you would expect.</p>
<p>A samba net ads join will create a keytab, will populate it with SPNs, will create an AD computer account, and will populate the serviceprincipalnames field for it &#8212; however, I have not found a mechanism by which they are directly usable.</p>
<p>IE: kinit -kt /etc/krb5.keytab host/hostname.myfqdn should work, but with SPNs it fails.</p>
<p>What apparently needs to be done, and what ktpass does, is to map the userprincipalname under the account, but unfortunately AD only supports one userprincipalname per user account.</p>
<p>You can create a valid keytab entru by doing net ads join and using the createupn field accordingly, it would seem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/comment-page-1/#comment-36615</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Wed, 26 Mar 2008 20:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=389#comment-36615</guid>
		<description>What's up guys... I've got a quick question (hopefully). I've got samba up and running and joined the ad domain and all that business. 

The issue i'm having is when I log on to my shared drive 'MyShare' it works fine but i see it creates a directory for me called drew (ad domain name)... i've tried to log in but can't. But I can log into the regular samba share..any ideas?</description>
		<content:encoded><![CDATA[<p>What&#8217;s up guys&#8230; I&#8217;ve got a quick question (hopefully). I&#8217;ve got samba up and running and joined the ad domain and all that business. </p>
<p>The issue i&#8217;m having is when I log on to my shared drive &#8216;MyShare&#8217; it works fine but i see it creates a directory for me called drew (ad domain name)&#8230; i&#8217;ve tried to log in but can&#8217;t. But I can log into the regular samba share..any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor Meghesan</title>
		<link>http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/comment-page-1/#comment-35085</link>
		<dc:creator>Victor Meghesan</dc:creator>
		<pubDate>Wed, 16 Jan 2008 04:28:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=389#comment-35085</guid>
		<description>Hi Arthur,

More important that the disto version you're running is the Samba version, you can find this using for ex. net -V

You should first check that you can reach the domain CG.DC.FOR.ad.corp.com by using for ex. ping IP.ADDR.OF.CG.DC.FOR.ad.corp.com, if you will use -I, or that you can resolve and reach the host DNS.NAME.OF.CG.DC.FOR.ad.corp.com, if you will use -S, for ex. host/nslookup/dig DNS.NAME.OF.CG.DC.FOR.ad.corp.com and ping DNS.NAME.OF.CG.DC.FOR.ad.corp.com

you can find the list of SRV's using AD DNS and query for SRV records of type _ldap._tcp.gc._msdcs.

Also if something is not working, restart by first deleting from AD the incomplete entry for the Samba machine and don't use -S with IP, use -S name or use -I IP, or use -I IP and -S name in the net cmd</description>
		<content:encoded><![CDATA[<p>Hi Arthur,</p>
<p>More important that the disto version you&#8217;re running is the Samba version, you can find this using for ex. net -V</p>
<p>You should first check that you can reach the domain CG.DC.FOR.ad.corp.com by using for ex. ping IP.ADDR.OF.CG.DC.FOR.ad.corp.com, if you will use -I, or that you can resolve and reach the host DNS.NAME.OF.CG.DC.FOR.ad.corp.com, if you will use -S, for ex. host/nslookup/dig DNS.NAME.OF.CG.DC.FOR.ad.corp.com and ping DNS.NAME.OF.CG.DC.FOR.ad.corp.com</p>
<p>you can find the list of SRV&#8217;s using AD DNS and query for SRV records of type _ldap._tcp.gc._msdcs.</p>
<p>Also if something is not working, restart by first deleting from AD the incomplete entry for the Samba machine and don&#8217;t use -S with IP, use -S name or use -I IP, or use -I IP and -S name in the net cmd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arthur</title>
		<link>http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/comment-page-1/#comment-34955</link>
		<dc:creator>Arthur</dc:creator>
		<pubDate>Sat, 05 Jan 2008 23:13:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=389#comment-34955</guid>
		<description>Help !!

I'm have OpenSuse 10.3 and im trying to join it to a Win2k ADS. When i try to net join -S IP.ADDR -U administrator%password i get: utils/net_rpc_join.c:net_rpc_join_newstyle(350)
Error in domain join verification (credential setup failed): NT_STATUS_INVALID_COMPUTER_NAME Unable to join domain COMBI.  The strange thing is I get computerobject in the ADS. I have the same configuration as your previous articles. Kerberos is working fine.

any ideas??</description>
		<content:encoded><![CDATA[<p>Help !!</p>
<p>I&#8217;m have OpenSuse 10.3 and im trying to join it to a Win2k ADS. When i try to net join -S IP.ADDR -U administrator%password i get: utils/net_rpc_join.c:net_rpc_join_newstyle(350)<br />
Error in domain join verification (credential setup failed): NT_STATUS_INVALID_COMPUTER_NAME Unable to join domain COMBI.  The strange thing is I get computerobject in the ADS. I have the same configuration as your previous articles. Kerberos is working fine.</p>
<p>any ideas??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor Meghesan</title>
		<link>http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/comment-page-1/#comment-27671</link>
		<dc:creator>Victor Meghesan</dc:creator>
		<pubDate>Wed, 21 Feb 2007 12:18:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=389#comment-27671</guid>
		<description>I think that you can skipp step 5 if in step 6 you use 'net ads join -I IP.ADDR.OF.CG.DC.FOR.ad.corp.com -S DNS.NAME.OF.CG.DC.FOR.ad.corp.com -U Administrator'</description>
		<content:encoded><![CDATA[<p>I think that you can skipp step 5 if in step 6 you use &#8216;net ads join -I IP.ADDR.OF.CG.DC.FOR.ad.corp.com -S DNS.NAME.OF.CG.DC.FOR.ad.corp.com -U Administrator&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slowe</title>
		<link>http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/comment-page-1/#comment-17004</link>
		<dc:creator>slowe</dc:creator>
		<pubDate>Sun, 07 Jan 2007 13:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=389#comment-17004</guid>
		<description>Alex,

"getent passwd" tells us if the LDAP configuration is working (which it is, apparently), but you also need to configure Kerberos.  I didn't put Kerberos configuration details in this article because I've covered it several times in other articles; refer to this article for more information:

http://blog.scottlowe.org/2006/08/08/linux-active-directory-and-windows-server-2003-r2-revisited/

That should give you the information you need to configure Kerberos properly.  Once Kerberos is properly configured, you should be able to use "kinit username" (assuming the default Kerberos realm) and successfully authenticate.  "klist" will then show a Kerberos ticket.

Hope this helps,
Scott</description>
		<content:encoded><![CDATA[<p>Alex,</p>
<p>&#8220;getent passwd&#8221; tells us if the LDAP configuration is working (which it is, apparently), but you also need to configure Kerberos.  I didn&#8217;t put Kerberos configuration details in this article because I&#8217;ve covered it several times in other articles; refer to this article for more information:</p>
<p><a href="http://blog.scottlowe.org/2006/08/08/linux-active-directory-and-windows-server-2003-r2-revisited/" rel="nofollow">http://blog.scottlowe.org/2006/08/08/linux-active-directory-and-windows-server-2003-r2-revisited/</a></p>
<p>That should give you the information you need to configure Kerberos properly.  Once Kerberos is properly configured, you should be able to use &#8220;kinit username&#8221; (assuming the default Kerberos realm) and successfully authenticate.  &#8220;klist&#8221; will then show a Kerberos ticket.</p>
<p>Hope this helps,<br />
Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/comment-page-1/#comment-16976</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sun, 07 Jan 2007 08:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=389#comment-16976</guid>
		<description>Hi, need help.

I got getent password  to work ok ,but steel have problem with samba: 
from /var/log/messages:

smbd[XXXX]: GSSAPI Error: Miscellaneous failure (No credentials cache found)

smb.conf configured as above.
any idea why?</description>
		<content:encoded><![CDATA[<p>Hi, need help.</p>
<p>I got getent password  to work ok ,but steel have problem with samba:<br />
from /var/log/messages:</p>
<p>smbd[XXXX]: GSSAPI Error: Miscellaneous failure (No credentials cache found)</p>
<p>smb.conf configured as above.<br />
any idea why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Planeta CentOS &#187; Using Samba in Linux-AD Integration</title>
		<link>http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/comment-page-1/#comment-15252</link>
		<dc:creator>Planeta CentOS &#187; Using Samba in Linux-AD Integration</dc:creator>
		<pubDate>Thu, 21 Dec 2006 02:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=389#comment-15252</guid>
		<description>[...] ActiveDirectory, CentOS, Interoperability, Kerberos, LDAP, Linux, Microsoft, Samba [...]</description>
		<content:encoded><![CDATA[<p>[...] ActiveDirectory, CentOS, Interoperability, Kerberos, LDAP, Linux, Microsoft, Samba [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
