<?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"
	>
<channel>
	<title>Comments on: Linux-AD Integration, Version 4</title>
	<atom:link href="http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/</link>
	<description>The weblog of an IT pro specializing in virtualization, storage, and servers</description>
	<pubDate>Fri, 21 Nov 2008 05:12:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Munroe</title>
		<link>http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/#comment-41969</link>
		<dc:creator>Munroe</dc:creator>
		<pubDate>Thu, 16 Oct 2008 06:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=400#comment-41969</guid>
		<description>Great article.  I have been successful binding a Debian Lenny Box to AD w2k3 R2.  However for some reason performance is less than stellar.  We are using this box as a mail server. and my auth.log is riddled with:

Oct 16 02:24:38 krypton imaplogin: nss_ldap: reconnected to LDAP server ldap://192.168.90.254 after 1 attempt
Oct 16 02:25:37 krypton imaplogin: nss_ldap: could not connect to any LDAP server as cn=binder,ou=test,dc=ad,dc=harmony,dc=lan - Can't contact LDAP server
Oct 16 02:25:37 krypton imaplogin: nss_ldap: failed to bind to LDAP server ldap://=: Can't contact LDAP server
Oct 16 02:25:37 krypton imaplogin: nss_ldap: reconnected to LDAP server ldap://192.168.90.254
Oct 16 02:25:37 krypton imaplogin: nss_ldap: reconnecting to LDAP server...
Oct 16 02:25:38 krypton imaplogin: nss_ldap: reconnected to LDAP server ldap://192.168.90.254 after 1 attempt
Oct 16 02:25:38 krypton imaplogin: nss_ldap: reconnecting to LDAP server...
Oct 16 02:25:38 krypton imaplogin: nss_ldap: reconnected to LDAP server ldap://192.168.90.254 after 1 attempt


I have found that nscd is also causing lots of performance problems.  I'm wondering if anyone else has these issues?</description>
		<content:encoded><![CDATA[<p>Great article.  I have been successful binding a Debian Lenny Box to AD w2k3 R2.  However for some reason performance is less than stellar.  We are using this box as a mail server. and my auth.log is riddled with:</p>
<p>Oct 16 02:24:38 krypton imaplogin: nss_ldap: reconnected to LDAP server ldap://192.168.90.254 after 1 attempt<br />
Oct 16 02:25:37 krypton imaplogin: nss_ldap: could not connect to any LDAP server as cn=binder,ou=test,dc=ad,dc=harmony,dc=lan - Can&#8217;t contact LDAP server<br />
Oct 16 02:25:37 krypton imaplogin: nss_ldap: failed to bind to LDAP server ldap://=: Can&#8217;t contact LDAP server<br />
Oct 16 02:25:37 krypton imaplogin: nss_ldap: reconnected to LDAP server ldap://192.168.90.254<br />
Oct 16 02:25:37 krypton imaplogin: nss_ldap: reconnecting to LDAP server&#8230;<br />
Oct 16 02:25:38 krypton imaplogin: nss_ldap: reconnected to LDAP server ldap://192.168.90.254 after 1 attempt<br />
Oct 16 02:25:38 krypton imaplogin: nss_ldap: reconnecting to LDAP server&#8230;<br />
Oct 16 02:25:38 krypton imaplogin: nss_ldap: reconnected to LDAP server ldap://192.168.90.254 after 1 attempt</p>
<p>I have found that nscd is also causing lots of performance problems.  I&#8217;m wondering if anyone else has these issues?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Zivkovic</title>
		<link>http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/#comment-41961</link>
		<dc:creator>John Zivkovic</dc:creator>
		<pubDate>Wed, 15 Oct 2008 23:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=400#comment-41961</guid>
		<description>Hi Scott,

Excellent post!

I have used your instructions as the basis for our Centos 5.2 / 2k3R2 SSO solution and it works like a charm.

We do not actually join the linux clients to our domain.  I vaguely remember you toying with this idea in one of your posts, but I cannot find the information.  Just interested in the significance of this step?

We have a samba server (serving home directories) that I have joined to the AD so that winbind can perform the appropriate mappings (Note: idmap backend = ad works very well), but I don't understand the need to join for our Centos 5.2 workstations (clients).

Regards,

John Zivkovic</description>
		<content:encoded><![CDATA[<p>Hi Scott,</p>
<p>Excellent post!</p>
<p>I have used your instructions as the basis for our Centos 5.2 / 2k3R2 SSO solution and it works like a charm.</p>
<p>We do not actually join the linux clients to our domain.  I vaguely remember you toying with this idea in one of your posts, but I cannot find the information.  Just interested in the significance of this step?</p>
<p>We have a samba server (serving home directories) that I have joined to the AD so that winbind can perform the appropriate mappings (Note: idmap backend = ad works very well), but I don&#8217;t understand the need to join for our Centos 5.2 workstations (clients).</p>
<p>Regards,</p>
<p>John Zivkovic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Sjobeck.com</title>
		<link>http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/#comment-41857</link>
		<dc:creator>Jason Sjobeck.com</dc:creator>
		<pubDate>Mon, 06 Oct 2008 23:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=400#comment-41857</guid>
		<description>Hi all. Great thread!

I edited the line:

debug = true

inside the stanza named:

[appdefaults]


..... but when I go to /var/log/ there are not files there. Any idea how I can get verbose output of the kerberos or PAM actions/activity?

Thanks so much.

Any one cn jabber or email me at jason at sjobeck dot com.

Thanks so much again.

Cheers

Peace

Jason Sjobeck</description>
		<content:encoded><![CDATA[<p>Hi all. Great thread!</p>
<p>I edited the line:</p>
<p>debug = true</p>
<p>inside the stanza named:</p>
<p>[appdefaults]</p>
<p>&#8230;.. but when I go to /var/log/ there are not files there. Any idea how I can get verbose output of the kerberos or PAM actions/activity?</p>
<p>Thanks so much.</p>
<p>Any one cn jabber or email me at jason at sjobeck dot com.</p>
<p>Thanks so much again.</p>
<p>Cheers</p>
<p>Peace</p>
<p>Jason Sjobeck</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Active Directory authentication with CentOS and RHEL 5.1 at cyber security &#38; profound submersion</title>
		<link>http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/#comment-41293</link>
		<dc:creator>Active Directory authentication with CentOS and RHEL 5.1 at cyber security &#38; profound submersion</dc:creator>
		<pubDate>Wed, 10 Sep 2008 00:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=400#comment-41293</guid>
		<description>[...] Scott Lowe&#8217;s web log here was very informative and straight forward. Follow this and you should be about 95% good for authentication. One important detail that needs clarification for noobs in Scott Lowe&#8217;s blog is specifically how to add the CentOS/RHEL system to the domain. You need to be sudo&#8217;d or su&#8217;d as root (so that you have the proper permissions) and specify your AD user account with the &#8220;-U&#8221; switch, since you probably do *not* have an account in your AD named &#8220;root&#8221;. [...]</description>
		<content:encoded><![CDATA[<p>[...] Scott Lowe&#8217;s web log here was very informative and straight forward. Follow this and you should be about 95% good for authentication. One important detail that needs clarification for noobs in Scott Lowe&#8217;s blog is specifically how to add the CentOS/RHEL system to the domain. You need to be sudo&#8217;d or su&#8217;d as root (so that you have the proper permissions) and specify your AD user account with the &#8220;-U&#8221; switch, since you probably do *not* have an account in your AD named &#8220;root&#8221;. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RT</title>
		<link>http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/#comment-40886</link>
		<dc:creator>RT</dc:creator>
		<pubDate>Tue, 26 Aug 2008 03:32:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=400#comment-40886</guid>
		<description>Using SysInternals.com's ADExplorer.exe, i found the machine was created in AD but sometimes with localhost as part of the dnsHostName and ServicePrinicipalName.  Fixing those entries and it worked for a few more days.</description>
		<content:encoded><![CDATA[<p>Using SysInternals.com&#8217;s ADExplorer.exe, i found the machine was created in AD but sometimes with localhost as part of the dnsHostName and ServicePrinicipalName.  Fixing those entries and it worked for a few more days.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/#comment-40595</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Wed, 13 Aug 2008 19:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=400#comment-40595</guid>
		<description>Thanks Scott for this post! It is exactly the way I  wanted to do this integration.

Not sure if its just my environment or what but I was able to get password changing to work. 

pam_krb5.so provides for all four pam sections. auth, account, password and session. Session destroys the ticket on logout. Not sure if this is a good thing or not? I guess I don't really see the point for the session part because we don't get a ticket...

Password is what provides the password changing. all you have to do is add a line for that. Also, you will need to make sure that the password for pam_unix.so is sufficient or at least not required.

It seems that if both modules are sufficient then it will use the correct one based on what type of account. Root can change the password of an AD user.. but you still need to know that persons current password. so no resetting of forgotten passwords.

Oh, and you use the "passwd" command for this. don't use kpasswd.

Here is what I have in my pam.d/system-auth file
password        sufficient      pam_unix.so try_first_pass use_authtok nullok md5 shadow
password        sufficient      pam_krb5.so use_first_pass

The use_first_pass or try_first_pass should make it so the current user doesn't need to provide the current password to change the password. But it doesn't seem to work. Not sure why at this point. (maybe because we don't get a tgt?)

Has anybody else done this? i'm using Gentoo...</description>
		<content:encoded><![CDATA[<p>Thanks Scott for this post! It is exactly the way I  wanted to do this integration.</p>
<p>Not sure if its just my environment or what but I was able to get password changing to work. </p>
<p>pam_krb5.so provides for all four pam sections. auth, account, password and session. Session destroys the ticket on logout. Not sure if this is a good thing or not? I guess I don&#8217;t really see the point for the session part because we don&#8217;t get a ticket&#8230;</p>
<p>Password is what provides the password changing. all you have to do is add a line for that. Also, you will need to make sure that the password for pam_unix.so is sufficient or at least not required.</p>
<p>It seems that if both modules are sufficient then it will use the correct one based on what type of account. Root can change the password of an AD user.. but you still need to know that persons current password. so no resetting of forgotten passwords.</p>
<p>Oh, and you use the &#8220;passwd&#8221; command for this. don&#8217;t use kpasswd.</p>
<p>Here is what I have in my pam.d/system-auth file<br />
password        sufficient      pam_unix.so try_first_pass use_authtok nullok md5 shadow<br />
password        sufficient      pam_krb5.so use_first_pass</p>
<p>The use_first_pass or try_first_pass should make it so the current user doesn&#8217;t need to provide the current password to change the password. But it doesn&#8217;t seem to work. Not sure why at this point. (maybe because we don&#8217;t get a tgt?)</p>
<p>Has anybody else done this? i&#8217;m using Gentoo&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh K</title>
		<link>http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/#comment-40386</link>
		<dc:creator>Josh K</dc:creator>
		<pubDate>Thu, 07 Aug 2008 19:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=400#comment-40386</guid>
		<description>Problem:  Failed to join domain: failed to create kerberos keytab

Linux = Fedora 9 64-bit (all updates completed)
Windows = Server 2003 SP2 w/ SFU 3.5 (all updates completed)
	Functionallity Level = 2003
Domain name has been changed to ' name ' using the same capitalization as the configs have.

-----krb5.conf-----

[logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

[libdefaults]
 default_realm = NAME.ORG
 dns_lookup_realm = true
 dns_lookup_kdc = true

[realms]
 NAME.ORG = {
  kdc = school-server.name.org:88
  admin_server = school-server.name.org:749
  default_domain = name.org
 }

[domain_realm]
 .name.org = NAME.ORG
 name.org = NAME.ORG

[kdc]
 profile = /var/kerberos/krb5kdc/kdc.conf

[appdefaults]
 pam = {
   debug = false
   ticket_lifetime = 36000
   renew_lifetime = 36000
   forwardable = true
   krb4_convert = false
 }

------ldap.conf-----

host 192.168.0.7
base dc=name,dc=org
binddn dirsearch@name.org
bindpw p@ssw0rd
scope sub
ssl no
referrals no
nss_base_passwd	dc=name,dc=org?sub
nss_base_shadow	dc=name,dc=org?sub
nss_base_group dc=name,dc=org?sub
nss_map_objectclass posixAccount User
nss_map_objectclass shadowAccount User
nss_map_objectclass posixGroup Group
nss_map_attribute uid msSFU30Name
nss_map_attribute uidNumber msSFU30UidNumber
nss_map_attribute gidNumber msSFU30GidNumber
nss_map_attribute loginShell msSFU30LoginShell
nss_map_attribute gecos name
nss_map_attribute userPassword msSFU30Password
nss_map_attribute homeDirectory msSFU30HomeDirectory
nss_map_attribute uniqueMember msSFU30PosixMember
nss_map_attribute cn cn

-----system-auth-----

auth        sufficient    pam_krb5.so
auth        required      pam_deny.so

account     sufficient    pam_unix.so
account     sufficient    pam_krb5.so
account     sufficient    pam_succeed_if.so uid &#60; 500 quiet
account     required      pam_deny.so

password    requisite     pam_cracklib.so try_first_pass retry=3
password    sufficient    pam_unix.so nullok use_authtok md5 shadow
password    required      pam_deny.so

session     required      pam_limits.so
session     required      pam_unix.so

-----nsswitch.conf-----

passwd:     files ldap
shadow:     files ldap
group:      files ldap

hosts:      files dns

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files

netgroup:   nisplus

publickey:  nisplus

automount:  files nisplus
aliases:    files nisplus

-----smb.conf-----

[global]
	workgroup = NAME
	server string = Name File Server
	log file = /var/log/samba/log.%m
	max log size = 50
	security = ads
	realm = NAME.ORG
	use kerberos keytab = true
	password server = school-server

----TESTING Commands-----

[root@fedora9fs ~]# kinit Administrator@NAME.ORG
Password for Administrator@NAME.ORG: 

[root@fedora9fs ~]# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: Administrator@NAME.ORG

Valid starting     Expires            Service principal
08/07/08 13:49:30  08/07/08 23:45:15  krbtgt/NAAME.ORG@NAME.ORG
	renew until 08/08/08 13:49:30


Kerberos 4 ticket cache: /tmp/tkt0
klist: You have no tickets cached

[root@fedora9fs ~]# getent passwd Administrator
Administrator:ABCD!efgh12345$67890:0:10004:Administrator:/home/Administrator:/bin/sh

[root@fedora9fs ~]# net ads join -U Administrator
Enter Administrator's password:
Failed to join domain: failed to create kerberos keytab


This problem has been very frustrating.  I have reinstalled Fedora 9 and completed everything again and the same thing happens.  If you have anything for me to try please, please help.  This how-to is AWESOME and I'm sure it is something small and stupid that I am missing.

Thanks in advance,
~Josh</description>
		<content:encoded><![CDATA[<p>Problem:  Failed to join domain: failed to create kerberos keytab</p>
<p>Linux = Fedora 9 64-bit (all updates completed)<br />
Windows = Server 2003 SP2 w/ SFU 3.5 (all updates completed)<br />
	Functionallity Level = 2003<br />
Domain name has been changed to &#8216; name &#8216; using the same capitalization as the configs have.</p>
<p>&#8212;&#8211;krb5.conf&#8212;&#8211;</p>
<p>[logging]<br />
 default = FILE:/var/log/krb5libs.log<br />
 kdc = FILE:/var/log/krb5kdc.log<br />
 admin_server = FILE:/var/log/kadmind.log</p>
<p>[libdefaults]<br />
 default_realm = NAME.ORG<br />
 dns_lookup_realm = true<br />
 dns_lookup_kdc = true</p>
<p>[realms]<br />
 NAME.ORG = {<br />
  kdc = school-server.name.org:88<br />
  admin_server = school-server.name.org:749<br />
  default_domain = name.org<br />
 }</p>
<p>[domain_realm]<br />
 .name.org = NAME.ORG<br />
 name.org = NAME.ORG</p>
<p>[kdc]<br />
 profile = /var/kerberos/krb5kdc/kdc.conf</p>
<p>[appdefaults]<br />
 pam = {<br />
   debug = false<br />
   ticket_lifetime = 36000<br />
   renew_lifetime = 36000<br />
   forwardable = true<br />
   krb4_convert = false<br />
 }</p>
<p>&#8212;&#8212;ldap.conf&#8212;&#8211;</p>
<p>host 192.168.0.7<br />
base dc=name,dc=org<br />
binddn <a href="mailto:dirsearch@name.org">dirsearch@name.org</a><br />
bindpw p@ssw0rd<br />
scope sub<br />
ssl no<br />
referrals no<br />
nss_base_passwd	dc=name,dc=org?sub<br />
nss_base_shadow	dc=name,dc=org?sub<br />
nss_base_group dc=name,dc=org?sub<br />
nss_map_objectclass posixAccount User<br />
nss_map_objectclass shadowAccount User<br />
nss_map_objectclass posixGroup Group<br />
nss_map_attribute uid msSFU30Name<br />
nss_map_attribute uidNumber msSFU30UidNumber<br />
nss_map_attribute gidNumber msSFU30GidNumber<br />
nss_map_attribute loginShell msSFU30LoginShell<br />
nss_map_attribute gecos name<br />
nss_map_attribute userPassword msSFU30Password<br />
nss_map_attribute homeDirectory msSFU30HomeDirectory<br />
nss_map_attribute uniqueMember msSFU30PosixMember<br />
nss_map_attribute cn cn</p>
<p>&#8212;&#8211;system-auth&#8212;&#8211;</p>
<p>auth        sufficient    pam_krb5.so<br />
auth        required      pam_deny.so</p>
<p>account     sufficient    pam_unix.so<br />
account     sufficient    pam_krb5.so<br />
account     sufficient    pam_succeed_if.so uid &lt; 500 quiet<br />
account     required      pam_deny.so</p>
<p>password    requisite     pam_cracklib.so try_first_pass retry=3<br />
password    sufficient    pam_unix.so nullok use_authtok md5 shadow<br />
password    required      pam_deny.so</p>
<p>session     required      pam_limits.so<br />
session     required      pam_unix.so</p>
<p>&#8212;&#8211;nsswitch.conf&#8212;&#8211;</p>
<p>passwd:     files ldap<br />
shadow:     files ldap<br />
group:      files ldap</p>
<p>hosts:      files dns</p>
<p>bootparams: nisplus [NOTFOUND=return] files</p>
<p>ethers:     files<br />
netmasks:   files<br />
networks:   files<br />
protocols:  files<br />
rpc:        files<br />
services:   files</p>
<p>netgroup:   nisplus</p>
<p>publickey:  nisplus</p>
<p>automount:  files nisplus<br />
aliases:    files nisplus</p>
<p>&#8212;&#8211;smb.conf&#8212;&#8211;</p>
<p>[global]<br />
	workgroup = NAME<br />
	server string = Name File Server<br />
	log file = /var/log/samba/log.%m<br />
	max log size = 50<br />
	security = ads<br />
	realm = NAME.ORG<br />
	use kerberos keytab = true<br />
	password server = school-server</p>
<p>&#8212;-TESTING Commands&#8212;&#8211;</p>
<p>[root@fedora9fs ~]# kinit <a href="mailto:Administrator@NAME.ORG">Administrator@NAME.ORG</a><br />
Password for <a href="mailto:Administrator@NAME.ORG">Administrator@NAME.ORG</a>: </p>
<p>[root@fedora9fs ~]# klist<br />
Ticket cache: FILE:/tmp/krb5cc_0<br />
Default principal: <a href="mailto:Administrator@NAME.ORG">Administrator@NAME.ORG</a></p>
<p>Valid starting     Expires            Service principal<br />
08/07/08 13:49:30  08/07/08 23:45:15  krbtgt/NAAME.ORG@NAME.ORG<br />
	renew until 08/08/08 13:49:30</p>
<p>Kerberos 4 ticket cache: /tmp/tkt0<br />
klist: You have no tickets cached</p>
<p>[root@fedora9fs ~]# getent passwd Administrator<br />
Administrator:ABCD!efgh12345$67890:0:10004:Administrator:/home/Administrator:/bin/sh</p>
<p>[root@fedora9fs ~]# net ads join -U Administrator<br />
Enter Administrator&#8217;s password:<br />
Failed to join domain: failed to create kerberos keytab</p>
<p>This problem has been very frustrating.  I have reinstalled Fedora 9 and completed everything again and the same thing happens.  If you have anything for me to try please, please help.  This how-to is AWESOME and I&#8217;m sure it is something small and stupid that I am missing.</p>
<p>Thanks in advance,<br />
~Josh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen P. Schaefer</title>
		<link>http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/#comment-40147</link>
		<dc:creator>Stephen P. Schaefer</dc:creator>
		<pubDate>Tue, 22 Jul 2008 23:18:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=400#comment-40147</guid>
		<description>For the benefit of others in a similar environment: I just spent the day chasing phantoms.  The problems?  I would do everything right in creating the /etc/krb5.keytab file, but then things wouldn't work.  Then I'd research for hours, and without changing anything it would work.

?????

Active Directory propagation delay.  The host would get created, but then I couldn't create the kerberos ticket because the Active Directory kerberos server didn't yet know about the host.  Solution: use the same server to create the host and create the key.  Now I try to kerberos authenticate ssh from one host to another, delegating the TGT.  Doesn't work.  Wireshark shows the kerberos server telling me there is no SPN host/fqdn - but an AD search shows HOST/fqdn right there.  Obvious case mismatch (not).  How do I tell the kerberos server to ignore case on the SPN?  Nothing (it already does): just wait for that other KDC to get updated with the new KDC entry.</description>
		<content:encoded><![CDATA[<p>For the benefit of others in a similar environment: I just spent the day chasing phantoms.  The problems?  I would do everything right in creating the /etc/krb5.keytab file, but then things wouldn&#8217;t work.  Then I&#8217;d research for hours, and without changing anything it would work.</p>
<p>?????</p>
<p>Active Directory propagation delay.  The host would get created, but then I couldn&#8217;t create the kerberos ticket because the Active Directory kerberos server didn&#8217;t yet know about the host.  Solution: use the same server to create the host and create the key.  Now I try to kerberos authenticate ssh from one host to another, delegating the TGT.  Doesn&#8217;t work.  Wireshark shows the kerberos server telling me there is no SPN host/fqdn - but an AD search shows HOST/fqdn right there.  Obvious case mismatch (not).  How do I tell the kerberos server to ignore case on the SPN?  Nothing (it already does): just wait for that other KDC to get updated with the new KDC entry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eellis</title>
		<link>http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/#comment-40144</link>
		<dc:creator>eellis</dc:creator>
		<pubDate>Tue, 22 Jul 2008 19:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=400#comment-40144</guid>
		<description>This is a great tutorial, but I've run up on a snag that is preventing me from being successful.  I have Kerberos working and can get tickets from the server.  I can perform ldapsearch lookups like so:
ldapsearch -Hldap://[FQDN of DC] -b "" -s base  -x -W -Dldapbind

It asks for my password and returns expected information, but when I attempt to do a getent passwd [user@DOMAIN] it returns nothing.  In /var/log/messages it gives me the following: 
getent: nss_ldap: could not search LDAP server - Operations error

I'm kinda stumped as all of the ancilary tests appear to work, but I can't do a getent.  Is there a way to get nss_ldap to dump more info about the problem that it's having?</description>
		<content:encoded><![CDATA[<p>This is a great tutorial, but I&#8217;ve run up on a snag that is preventing me from being successful.  I have Kerberos working and can get tickets from the server.  I can perform ldapsearch lookups like so:<br />
ldapsearch -Hldap://[FQDN of DC] -b &#8220;&#8221; -s base  -x -W -Dldapbind</p>
<p>It asks for my password and returns expected information, but when I attempt to do a getent passwd [user@DOMAIN] it returns nothing.  In /var/log/messages it gives me the following:<br />
getent: nss_ldap: could not search LDAP server - Operations error</p>
<p>I&#8217;m kinda stumped as all of the ancilary tests appear to work, but I can&#8217;t do a getent.  Is there a way to get nss_ldap to dump more info about the problem that it&#8217;s having?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/#comment-40037</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sat, 12 Jul 2008 12:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=400#comment-40037</guid>
		<description>I saw aspects of this thread that rang bells on LDAP, referrals and AD. Some were asking how to load balance or do DNS config of the LDAP servers. This IS handled and is quite easy.

If you set your client system to fully use AD managed DNS, the A records of the root domain (company.com) are all set to the AD servers. If you then spec just the root domain in the LDAP conn URI, it will get one of these servers. Not sure which, but always one of them.

And this is what can muck up referrals as well. If a referral happens, AD returns a URI that contains JUST the root domain name assuming you have the config above (yes, even if you queried a specific LDAP/AD server initially). If you don't use AD managed DNS and you have not put a value in your hosts file for the root domain, the referral will fail. 

Also, if you initially query an AD server that is a GC and do so on port 3268, it won't ever do a referral.</description>
		<content:encoded><![CDATA[<p>I saw aspects of this thread that rang bells on LDAP, referrals and AD. Some were asking how to load balance or do DNS config of the LDAP servers. This IS handled and is quite easy.</p>
<p>If you set your client system to fully use AD managed DNS, the A records of the root domain (company.com) are all set to the AD servers. If you then spec just the root domain in the LDAP conn URI, it will get one of these servers. Not sure which, but always one of them.</p>
<p>And this is what can muck up referrals as well. If a referral happens, AD returns a URI that contains JUST the root domain name assuming you have the config above (yes, even if you queried a specific LDAP/AD server initially). If you don&#8217;t use AD managed DNS and you have not put a value in your hosts file for the root domain, the referral will fail. </p>
<p>Also, if you initially query an AD server that is a GC and do so on port 3268, it won&#8217;t ever do a referral.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
