<?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: Integrating LDAP and Kerberos: Part Two (LDAP)</title>
	<atom:link href="http://www.linux-mag.com/id/4765/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linux-mag.com/id/4765/</link>
	<description>Open Source, Open Standards</description>
	<lastBuildDate>Fri, 10 Feb 2012 10:47:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: phantasm</title>
		<link>http://www.linux-mag.com/id/4765/#comment-4981</link>
		<dc:creator>phantasm</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/4765/#comment-4981</guid>
		<description>LDAP has been a wonderous change to our developers network this past year. After reading this, I believe Kerberos and LDAP combined will provide the added security we need to have in place.&lt;br /&gt;
&lt;br /&gt;
Thank you.</description>
		<content:encoded><![CDATA[<p>LDAP has been a wonderous change to our developers network this past year. After reading this, I believe Kerberos and LDAP combined will provide the added security we need to have in place.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nbensa</title>
		<link>http://www.linux-mag.com/id/4765/#comment-4982</link>
		<dc:creator>nbensa</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/4765/#comment-4982</guid>
		<description>I don&#039;t get the &quot;kerberos security.&quot; What&#039;s the difference between ldap+kerberos and ldap+ssl+sasl+digest-md5?&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
Norberto</description>
		<content:encoded><![CDATA[<p>I don&#8217;t get the &#8220;kerberos security.&#8221; What&#8217;s the difference between ldap+kerberos and ldap+ssl+sasl+digest-md5?</p>
<p>Thanks!</p>
<p>Norberto</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: macomaciak</title>
		<link>http://www.linux-mag.com/id/4765/#comment-4983</link>
		<dc:creator>macomaciak</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/4765/#comment-4983</guid>
		<description>anyone on the local network can bind to ldap server anonymously and get the list of all UID + GID&#039;s. this is absolutely ugly AND insecure. disclosing the UID information to everyone is just wrong concept.&lt;br /&gt;
&lt;br /&gt;
M.</description>
		<content:encoded><![CDATA[<p>anyone on the local network can bind to ldap server anonymously and get the list of all UID + GID&#8217;s. this is absolutely ugly AND insecure. disclosing the UID information to everyone is just wrong concept.</p>
<p>M.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jimmyjump75</title>
		<link>http://www.linux-mag.com/id/4765/#comment-4984</link>
		<dc:creator>jimmyjump75</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/4765/#comment-4984</guid>
		<description>Can I map the kerberos username to a different LDAP user? Does the name have to be the same in ldap as the kerberos principal?&lt;br /&gt;
Specifically, can I authenticate with my kerberos credentials as user1@REALM and have that log me in as a local unix or NIS user after authentication? I cannot figure that part out!! I can authenticate fine with Kerberos but in order to login I need a matching user account name on the box or NIS or I get rejected. With winbind I can login using kerberos without having a local account but I have no control over the unix UID I am assigned and that is only good for shares anyway. What I am looking to accomplish is to authenticate using kerberos but have it log me in as a existing unix user. I know it is possible as on some of our AIX and Redhat boxes, we login with our Active directory (kerberos credentials) and after authenticating you are logged into the box as a local unix uid. I cannot figure out how to make this happen but am almost certain it is LDAP. The reason is we have an existing Unix infrastructure with permissions set up. Corporate IT wants the boxes joined to AD but when you log into the box with AD credentials the permissions do not match to my uid. &lt;br /&gt;
Thanks &lt;br /&gt;
James</description>
		<content:encoded><![CDATA[<p>Can I map the kerberos username to a different LDAP user? Does the name have to be the same in ldap as the kerberos principal?<br />
Specifically, can I authenticate with my kerberos credentials as user1@REALM and have that log me in as a local unix or NIS user after authentication? I cannot figure that part out!! I can authenticate fine with Kerberos but in order to login I need a matching user account name on the box or NIS or I get rejected. With winbind I can login using kerberos without having a local account but I have no control over the unix UID I am assigned and that is only good for shares anyway. What I am looking to accomplish is to authenticate using kerberos but have it log me in as a existing unix user. I know it is possible as on some of our AIX and Redhat boxes, we login with our Active directory (kerberos credentials) and after authenticating you are logged into the box as a local unix uid. I cannot figure out how to make this happen but am almost certain it is LDAP. The reason is we have an existing Unix infrastructure with permissions set up. Corporate IT wants the boxes joined to AD but when you log into the box with AD credentials the permissions do not match to my uid. <br />
Thanks <br />
James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eagmunoz</title>
		<link>http://www.linux-mag.com/id/4765/#comment-4985</link>
		<dc:creator>eagmunoz</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/4765/#comment-4985</guid>
		<description>Maybe this what ur looking for &lt;br /&gt;
man pam_krb5&lt;br /&gt;
&lt;br /&gt;
Look  /.k5login</description>
		<content:encoded><![CDATA[<p>Maybe this what ur looking for <br />
man pam_krb5</p>
<p>Look  /.k5login</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bsdlogical</title>
		<link>http://www.linux-mag.com/id/4765/#comment-4986</link>
		<dc:creator>bsdlogical</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/4765/#comment-4986</guid>
		<description>While following this article (and Part One), I finally managed to install Kerberos and OpenLDAP together. However, I ran into some problems with the howto posted here on the way. I&#039;ve made an effort to describe how I fixed them as well as I can, and I hope it helps others attempting to do the same thing. I installed this on Ubuntu 8.04, and some of the corrections come from a partially finished guide at https://help.ubuntu.com/community/SingleSignOn. However, if I&#039;ve inadvertently made any mistakes in these comments, please post that as well so others won&#039;t be misled.&lt;br /&gt;
&lt;br /&gt;
(Continued from Part 1)&lt;br /&gt;
&lt;br /&gt;
Problems/Comments in Part 2:&lt;br /&gt;
1) I had problems putting the slapd.access line before the suffix definition in slapd.conf, so I put it after.&lt;br /&gt;
2) I managed to get LDAP working without the krb5-kdc.schema, though perhaps that was more of an accident.&lt;br /&gt;
3) The installation scripts had already created a root DN, so I only added one that looked like:&lt;br /&gt;
dn: ou=people,dc=domain,dc=com&lt;br /&gt;
objectclass: organizationalUnit&lt;br /&gt;
ou: people&lt;br /&gt;
description: Users&lt;br /&gt;
&lt;br /&gt;
dn: uid=ldapadm,ou=people,dc=domain,dc=com&lt;br /&gt;
objectClass: inetOrgPerson&lt;br /&gt;
objectClass: posixAccount&lt;br /&gt;
objectClass: shadowAccount&lt;br /&gt;
cn: LDAP admin account&lt;br /&gt;
sn: LDAP Admin&lt;br /&gt;
uid: ldapadm&lt;br /&gt;
uidNumber: 1002&lt;br /&gt;
gidNumber: 100&lt;br /&gt;
homeDirectory: /etc/ldap&lt;br /&gt;
loginShell: /bin/false&lt;br /&gt;
&lt;br /&gt;
4) When I tried installing this setup on a different system, the sasl and authz lines given in the howto didn&#039;t work. I&#039;m not sure why, and I haven&#039;t debugged further, but I had to use these instead:&lt;br /&gt;
sasl-secprops noanonymous,noplain,noactive&lt;br /&gt;
sasl-regexp uid=([^/]*),cn=GSSAPI,cn=auth uid=$1,ou=People,dc=example,dc=com&lt;br /&gt;
&lt;br /&gt;
5) I had to add apparmor profiles for slapd so it could access the files it needed. This is described in detail in https://bugs.launchpad.net/ubuntu/+source/openldap2.2/+bug/229252 &lt;br /&gt;
&lt;br /&gt;
6) The package name should be ldap-utils, not ldap_utils, in the Client setup section.&lt;br /&gt;
&lt;br /&gt;
7) In Ubuntu, the configuration for libnss-ldap is actually in /etc/ldap.conf (which is NOT the same thing as /etc/ldap/ldap.conf - that&#039;s used by other client LDAP utilities, while /etc/ldap/slapd.conf is used by the slapd server)&lt;br /&gt;
&lt;br /&gt;
In addition to many useful sites out there is http://research.imb.uq.edu.au/~l.rathbone/ldap/gssapi.shtml</description>
		<content:encoded><![CDATA[<p>While following this article (and Part One), I finally managed to install Kerberos and OpenLDAP together. However, I ran into some problems with the howto posted here on the way. I&#8217;ve made an effort to describe how I fixed them as well as I can, and I hope it helps others attempting to do the same thing. I installed this on Ubuntu 8.04, and some of the corrections come from a partially finished guide at <a href="https://help.ubuntu.com/community/SingleSignOn" rel="nofollow">https://help.ubuntu.com/community/SingleSignOn</a>. However, if I&#8217;ve inadvertently made any mistakes in these comments, please post that as well so others won&#8217;t be misled.</p>
<p>(Continued from Part 1)</p>
<p>Problems/Comments in Part 2:<br />
1) I had problems putting the slapd.access line before the suffix definition in slapd.conf, so I put it after.<br />
2) I managed to get LDAP working without the krb5-kdc.schema, though perhaps that was more of an accident.<br />
3) The installation scripts had already created a root DN, so I only added one that looked like:<br />
dn: ou=people,dc=domain,dc=com<br />
objectclass: organizationalUnit<br />
ou: people<br />
description: Users</p>
<p>dn: uid=ldapadm,ou=people,dc=domain,dc=com<br />
objectClass: inetOrgPerson<br />
objectClass: posixAccount<br />
objectClass: shadowAccount<br />
cn: LDAP admin account<br />
sn: LDAP Admin<br />
uid: ldapadm<br />
uidNumber: 1002<br />
gidNumber: 100<br />
homeDirectory: /etc/ldap<br />
loginShell: /bin/false</p>
<p>4) When I tried installing this setup on a different system, the sasl and authz lines given in the howto didn&#8217;t work. I&#8217;m not sure why, and I haven&#8217;t debugged further, but I had to use these instead:<br />
sasl-secprops noanonymous,noplain,noactive<br />
sasl-regexp uid=([^/]*),cn=GSSAPI,cn=auth uid=$1,ou=People,dc=example,dc=com</p>
<p>5) I had to add apparmor profiles for slapd so it could access the files it needed. This is described in detail in <a href="https://bugs.launchpad.net/ubuntu/+source/openldap2.2/+bug/229252" rel="nofollow">https://bugs.launchpad.net/ubuntu/+source/openldap2.2/+bug/229252</a> </p>
<p>6) The package name should be ldap-utils, not ldap_utils, in the Client setup section.</p>
<p>7) In Ubuntu, the configuration for libnss-ldap is actually in /etc/ldap.conf (which is NOT the same thing as /etc/ldap/ldap.conf &#8211; that&#8217;s used by other client LDAP utilities, while /etc/ldap/slapd.conf is used by the slapd server)</p>
<p>In addition to many useful sites out there is <a href="http://research.imb.uq.edu.au/~l.rathbone/ldap/gssapi.shtml" rel="nofollow">http://research.imb.uq.edu.au/~l.rathbone/ldap/gssapi.shtml</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bsdlogical</title>
		<link>http://www.linux-mag.com/id/4765/#comment-4987</link>
		<dc:creator>bsdlogical</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/4765/#comment-4987</guid>
		<description>Just to clarify, in #4, the last sasl-regexp line should be one line - it should not be split up into two.</description>
		<content:encoded><![CDATA[<p>Just to clarify, in #4, the last sasl-regexp line should be one line &#8211; it should not be split up into two.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grkm2002</title>
		<link>http://www.linux-mag.com/id/4765/#comment-4988</link>
		<dc:creator>grkm2002</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/4765/#comment-4988</guid>
		<description>Great outline. However, i am getting the following error when i try to use the following line:&lt;br /&gt;
ldapadd -x -D &quot;cn=admin,dc=ph,dc=ic,dc=ac,dc=uk&quot; -W -f setup.ldif:&lt;br /&gt;
&lt;br /&gt;
ldap_bind: Invalid credentials (49)&lt;br /&gt;
conn=0 fd=14 ACCEPT from IP=127.0.0.1:56098 (ip=0.0.0.0:389)&lt;br /&gt;
conn=0 op=0 RESULT tag=97 err=49 text=&lt;br /&gt;
&lt;br /&gt;
Any help would be greatful. Was able to get everything else setup.</description>
		<content:encoded><![CDATA[<p>Great outline. However, i am getting the following error when i try to use the following line:<br />
ldapadd -x -D &#8220;cn=admin,dc=ph,dc=ic,dc=ac,dc=uk&#8221; -W -f setup.ldif:</p>
<p>ldap_bind: Invalid credentials (49)<br />
conn=0 fd=14 ACCEPT from IP=127.0.0.1:56098 (ip=0.0.0.0:389)<br />
conn=0 op=0 RESULT tag=97 err=49 text=</p>
<p>Any help would be greatful. Was able to get everything else setup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: capedcrusader</title>
		<link>http://www.linux-mag.com/id/4765/#comment-4989</link>
		<dc:creator>capedcrusader</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/4765/#comment-4989</guid>
		<description>So do users needed to be added to Kerberos and LDAP independently?  With this setup, if I add an LDAP user, should it have a corresponding Kerberos principle automatically?</description>
		<content:encoded><![CDATA[<p>So do users needed to be added to Kerberos and LDAP independently?  With this setup, if I add an LDAP user, should it have a corresponding Kerberos principle automatically?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: captainmish</title>
		<link>http://www.linux-mag.com/id/4765/#comment-4990</link>
		<dc:creator>captainmish</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/4765/#comment-4990</guid>
		<description>Anyone know the answer to this? - it doesnt seem clear where the users &quot;live&quot;</description>
		<content:encoded><![CDATA[<p>Anyone know the answer to this? &#8211; it doesnt seem clear where the users &#8220;live&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mabu</title>
		<link>http://www.linux-mag.com/id/4765/#comment-4991</link>
		<dc:creator>mabu</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/4765/#comment-4991</guid>
		<description>&lt;p&gt;&gt;So do users needed to be added to Kerberos and LDAP independently?&lt;br /&gt;
I think according to this setup, you have got Kerberos users stored in the principal database for authentication. You also have entries in LDAP for authorization. But there does not seem to be any coupling. If you want the kerberos principals to reside in the directory, you will probably need the kerberos LDAP backend.
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&gt;So do users needed to be added to Kerberos and LDAP independently?<br />
I think according to this setup, you have got Kerberos users stored in the principal database for authentication. You also have entries in LDAP for authorization. But there does not seem to be any coupling. If you want the kerberos principals to reside in the directory, you will probably need the kerberos LDAP backend.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

