<?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: CentOS 5 Active Directory Integration Problem</title>
	<atom:link href="http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/</link>
	<description>The weblog of an IT pro specializing in virtualization, storage, and servers</description>
	<lastBuildDate>Wed, 08 Feb 2012 17:13:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Onno</title>
		<link>http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/comment-page-1/#comment-49552</link>
		<dc:creator>Onno</dc:creator>
		<pubDate>Sat, 27 Nov 2010 11:32:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/#comment-49552</guid>
		<description>Hi All,

I don&#039;t know if someone finds it interesting, but I followed v4 of latest Linux-AD integration instructions from Scott, and with minor mods I got my CentOS 5.5 clients authenticate successfully agains an w2k3 R2 DC.

So Scott, for me your instructions worked great! Thanks!

Kind regards,
Onno.</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>I don&#8217;t know if someone finds it interesting, but I followed v4 of latest Linux-AD integration instructions from Scott, and with minor mods I got my CentOS 5.5 clients authenticate successfully agains an w2k3 R2 DC.</p>
<p>So Scott, for me your instructions worked great! Thanks!</p>
<p>Kind regards,<br />
Onno.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: infrasty</title>
		<link>http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/comment-page-1/#comment-47418</link>
		<dc:creator>infrasty</dc:creator>
		<pubDate>Thu, 04 Feb 2010 07:46:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/#comment-47418</guid>
		<description>If anyone interested in full instruction set on this problem - let me know, i-ll write it here. It just big though

infrasty_at_gmail.com

Short term explanation is because SAMBA is using it-s own kerberos configuration file when issuing requests to AD controllers. It doesnt bother to look if system krb5.conf is available and to use it.
It does so for every request, so even if you-ll create your own in place where samba will put it-s own dynamically made krb5.conf, samba will overwrite your version with it-s own.

Depending on version of linux / unix this file is located somewhere in
(my case FreeBSD 7.X) 
/var/db/samba/smb_krb5

One of dirty hacks was to set system immutable flag on file, so samba cannot change file even if there rwxrwxrwx permissions set.

Problem with users and groups typically arise when SAMBA&#039;s kerberos library still using UDP type requests to AD and unable to fetch information as it get replies - &quot;too big to fit in UDP, use TCP instead&quot; - shure, just let me force samba to use my version of krb5.conf

Regards,
Alexander</description>
		<content:encoded><![CDATA[<p>If anyone interested in full instruction set on this problem &#8211; let me know, i-ll write it here. It just big though</p>
<p>infrasty_at_gmail.com</p>
<p>Short term explanation is because SAMBA is using it-s own kerberos configuration file when issuing requests to AD controllers. It doesnt bother to look if system krb5.conf is available and to use it.<br />
It does so for every request, so even if you-ll create your own in place where samba will put it-s own dynamically made krb5.conf, samba will overwrite your version with it-s own.</p>
<p>Depending on version of linux / unix this file is located somewhere in<br />
(my case FreeBSD 7.X)<br />
/var/db/samba/smb_krb5</p>
<p>One of dirty hacks was to set system immutable flag on file, so samba cannot change file even if there rwxrwxrwx permissions set.</p>
<p>Problem with users and groups typically arise when SAMBA&#8217;s kerberos library still using UDP type requests to AD and unable to fetch information as it get replies &#8211; &#8220;too big to fit in UDP, use TCP instead&#8221; &#8211; shure, just let me force samba to use my version of krb5.conf</p>
<p>Regards,<br />
Alexander</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephane Brodeur</title>
		<link>http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/comment-page-1/#comment-44030</link>
		<dc:creator>Stephane Brodeur</dc:creator>
		<pubDate>Mon, 30 Mar 2009 20:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/#comment-44030</guid>
		<description>I have similar problem, just would like to know what patch was applied to to the CentOS5.2 server.

Thanks</description>
		<content:encoded><![CDATA[<p>I have similar problem, just would like to know what patch was applied to to the CentOS5.2 server.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/comment-page-1/#comment-44028</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 30 Mar 2009 13:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/#comment-44028</guid>
		<description>I have got a different problem with it. I use CentOS 5.2 I went through all mentiined problems but....

I have 2 symstems on 1 PC. WinXP and CentOS 5.2 both are in a SBS Company domain.

When I boot it up in Win XP once and next booted up in CentOS again I received Access Denied from the server. 

Domain Server NETLOGON: event ID: 5722

The session setup from the computer HPXX failed to authenticate. The name(s) of the account(s) referenced in the security database is HPXX$. The following error occurred: Access is denied

Any clue?</description>
		<content:encoded><![CDATA[<p>I have got a different problem with it. I use CentOS 5.2 I went through all mentiined problems but&#8230;.</p>
<p>I have 2 symstems on 1 PC. WinXP and CentOS 5.2 both are in a SBS Company domain.</p>
<p>When I boot it up in Win XP once and next booted up in CentOS again I received Access Denied from the server. </p>
<p>Domain Server NETLOGON: event ID: 5722</p>
<p>The session setup from the computer HPXX failed to authenticate. The name(s) of the account(s) referenced in the security database is HPXX$. The following error occurred: Access is denied</p>
<p>Any clue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gavin Adams</title>
		<link>http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/comment-page-1/#comment-43968</link>
		<dc:creator>Gavin Adams</dc:creator>
		<pubDate>Wed, 25 Mar 2009 17:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/#comment-43968</guid>
		<description>Scott,

Thanks for documenting these solutions. Just an update that running an patched (yum update) CentOS 5.2 server, I was able to use the net ads -J command to create the computer object. All the other LDAP, nss, and kerberos changes in your other post worked fine.

It did require configuring the member server settings in samba and starting it up, but that actually a good thing as now I connect to shares on the Linux server, assume I&#039;m using kerberos for that.

For some reason, getent simply does not return and values for passwd or groups. However, if I create a directory and set the UID/GID to values defined in the AD account UNIX tab, ls -l does show the proper values (principal names from AD). And ssh logins work, so that makes me happy.

Things have changed dramatically since the Redhat 7.3 days... thank goodness!</description>
		<content:encoded><![CDATA[<p>Scott,</p>
<p>Thanks for documenting these solutions. Just an update that running an patched (yum update) CentOS 5.2 server, I was able to use the net ads -J command to create the computer object. All the other LDAP, nss, and kerberos changes in your other post worked fine.</p>
<p>It did require configuring the member server settings in samba and starting it up, but that actually a good thing as now I connect to shares on the Linux server, assume I&#8217;m using kerberos for that.</p>
<p>For some reason, getent simply does not return and values for passwd or groups. However, if I create a directory and set the UID/GID to values defined in the AD account UNIX tab, ls -l does show the proper values (principal names from AD). And ssh logins work, so that makes me happy.</p>
<p>Things have changed dramatically since the Redhat 7.3 days&#8230; thank goodness!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike H</title>
		<link>http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/comment-page-1/#comment-39475</link>
		<dc:creator>Mike H</dc:creator>
		<pubDate>Thu, 19 Jun 2008 21:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/#comment-39475</guid>
		<description>SELinux enable disable techniques:

 1. To see whether or not selinux is enforcing, permissive or disabled
$ sudo /usr/sbin/getenforce

 2. To temporarily set selinux to permissive (doesn&#039;t enforce any policies but will log alerts to syslog)
$ sudo /usr/sbin/setenforce 0

 3. To set selinux back to enforcing
$ sudo /usr/sbin/setenforce 1

 4. To permanently disable selinux (survives next reboot) edit /etc/selinux/config and change:
SELINUX=enforcing
to
SELINUX=permissive

permissive is nice because you can use it to debug selinux policy issues</description>
		<content:encoded><![CDATA[<p>SELinux enable disable techniques:</p>
<p> 1. To see whether or not selinux is enforcing, permissive or disabled<br />
$ sudo /usr/sbin/getenforce</p>
<p> 2. To temporarily set selinux to permissive (doesn&#8217;t enforce any policies but will log alerts to syslog)<br />
$ sudo /usr/sbin/setenforce 0</p>
<p> 3. To set selinux back to enforcing<br />
$ sudo /usr/sbin/setenforce 1</p>
<p> 4. To permanently disable selinux (survives next reboot) edit /etc/selinux/config and change:<br />
SELINUX=enforcing<br />
to<br />
SELINUX=permissive</p>
<p>permissive is nice because you can use it to debug selinux policy issues</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/comment-page-1/#comment-39398</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 12 Jun 2008 22:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/#comment-39398</guid>
		<description>I found this post useful
http://www.linuxquestions.org/questions/linux-networking-3/kerberos-kinit-reply-did-not-match-expectations-445698/</description>
		<content:encoded><![CDATA[<p>I found this post useful<br />
<a href="http://www.linuxquestions.org/questions/linux-networking-3/kerberos-kinit-reply-did-not-match-expectations-445698/" rel="nofollow">http://www.linuxquestions.org/questions/linux-networking-3/kerberos-kinit-reply-did-not-match-expectations-445698/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maurizio</title>
		<link>http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/comment-page-1/#comment-37244</link>
		<dc:creator>Maurizio</dc:creator>
		<pubDate>Mon, 28 Apr 2008 06:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/#comment-37244</guid>
		<description>Others of you has tried to make rpm binary using sources?
i got
&quot;Wrote: /usr/src/redhat/RPMS/i386/samba-3.0.28a-1.i386.rpm&quot;
and all the others samba packages 3.0.28a
but now i am very worried to install them on thsi Centos 5.1

Someone did it and he is satisfied?</description>
		<content:encoded><![CDATA[<p>Others of you has tried to make rpm binary using sources?<br />
i got<br />
&#8220;Wrote: /usr/src/redhat/RPMS/i386/samba-3.0.28a-1.i386.rpm&#8221;<br />
and all the others samba packages 3.0.28a<br />
but now i am very worried to install them on thsi Centos 5.1</p>
<p>Someone did it and he is satisfied?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maurizio</title>
		<link>http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/comment-page-1/#comment-37243</link>
		<dc:creator>Maurizio</dc:creator>
		<pubDate>Mon, 28 Apr 2008 06:13:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/#comment-37243</guid>
		<description>3.0.25a is bugged for other reasons, too :(
As Graham pointed here:
http://lists.samba.org/archive/samba/2008-March/139428.html
&quot;After groping around in the dark, I found some references to ldap passwd 
sync being broken, and changing this worked:

ldap passwd sync = no

For some reason, ldap passwd sync seems to be broken on samba 3.0.25b.&quot;
i have the same issue, i can&#039;t change password using CtrlAltCanc Windows form</description>
		<content:encoded><![CDATA[<p>3.0.25a is bugged for other reasons, too <img src='http://blog.scottlowe.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
As Graham pointed here:<br />
<a href="http://lists.samba.org/archive/samba/2008-March/139428.html" rel="nofollow">http://lists.samba.org/archive/samba/2008-March/139428.html</a><br />
&#8220;After groping around in the dark, I found some references to ldap passwd<br />
sync being broken, and changing this worked:</p>
<p>ldap passwd sync = no</p>
<p>For some reason, ldap passwd sync seems to be broken on samba 3.0.25b.&#8221;<br />
i have the same issue, i can&#8217;t change password using CtrlAltCanc Windows form</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albe</title>
		<link>http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/comment-page-1/#comment-37062</link>
		<dc:creator>Albe</dc:creator>
		<pubDate>Thu, 17 Apr 2008 17:05:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/#comment-37062</guid>
		<description>Solution for the first post: just go for the firstconfig procedure (u can relaunch by /usr/sbin/firstconfig --reconfig) and in the firewall section disable the SELinux.

This fixed this as well as other issues with my installation...


Albe</description>
		<content:encoded><![CDATA[<p>Solution for the first post: just go for the firstconfig procedure (u can relaunch by /usr/sbin/firstconfig &#8211;reconfig) and in the firewall section disable the SELinux.</p>
<p>This fixed this as well as other issues with my installation&#8230;</p>
<p>Albe</p>
]]></content:encoded>
	</item>
</channel>
</rss>

