<?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: Notes on ubuntu-8.10-serverguide-openldap</title>
	<atom:link href="http://blog.khax.net/2009/04/03/notes-on-ubuntu-810-serverguide-openldap/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.khax.net/2009/04/03/notes-on-ubuntu-810-serverguide-openldap/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=notes-on-ubuntu-810-serverguide-openldap</link>
	<description>Webdev &#38; Devops Blog</description>
	<lastBuildDate>Sat, 31 Dec 2011 04:54:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: iksan</title>
		<link>http://blog.khax.net/2009/04/03/notes-on-ubuntu-810-serverguide-openldap/#comment-58</link>
		<dc:creator>iksan</dc:creator>
		<pubDate>Sat, 28 May 2011 07:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.khax.net/?p=123#comment-58</guid>
		<description>the comand is 
&quot;sudo ldapadduser george example&quot;


not &quot;ldapuseradd george example&quot;

help me
 
Thanks for your ettention</description>
		<content:encoded><![CDATA[<p>the comand is<br />
&#8220;sudo ldapadduser george example&#8221;</p>
<p>not &#8220;ldapuseradd george example&#8221;</p>
<p>help me</p>
<p>Thanks for your ettention</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iksan</title>
		<link>http://blog.khax.net/2009/04/03/notes-on-ubuntu-810-serverguide-openldap/#comment-57</link>
		<dc:creator>iksan</dc:creator>
		<pubDate>Sat, 28 May 2011 07:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.khax.net/?p=123#comment-57</guid>
		<description>Dear All 

i have a problem when i add user in ldap, the coment is 
&quot;sudo ldapuseradd george example&quot; 

error Massage display 

&quot;Error adding user goerge to LDAP &quot;
 What is the problem.. ?
help me please</description>
		<content:encoded><![CDATA[<p>Dear All </p>
<p>i have a problem when i add user in ldap, the coment is<br />
&#8220;sudo ldapuseradd george example&#8221; </p>
<p>error Massage display </p>
<p>&#8220;Error adding user goerge to LDAP &#8221;<br />
 What is the problem.. ?<br />
help me please</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.khax.net/2009/04/03/notes-on-ubuntu-810-serverguide-openldap/#comment-56</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sun, 07 Jun 2009 02:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.khax.net/?p=123#comment-56</guid>
		<description>Ok, sorry to be like a stalker.

So I figured out that I have to escape the url with % signs.  I had it working without them when I tested TLS before.

ex.: sudo ldapsearch -x -H ldap:///%e%x%a%m%p%l%e%.%c%o%m -D cn=admin,dc=example,dc=com -W -ZZ

Weird.  I&#039;d try it in the config file if I could figure out how without blowing up the server.

--peace out.</description>
		<content:encoded><![CDATA[<p>Ok, sorry to be like a stalker.</p>
<p>So I figured out that I have to escape the url with % signs.  I had it working without them when I tested TLS before.</p>
<p>ex.: sudo ldapsearch -x -H ldap:///%e%x%a%m%p%l%e%.%c%o%m -D cn=admin,dc=example,dc=com -W -ZZ</p>
<p>Weird.  I&#8217;d try it in the config file if I could figure out how without blowing up the server.</p>
<p>&#8211;peace out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.khax.net/2009/04/03/notes-on-ubuntu-810-serverguide-openldap/#comment-55</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sun, 07 Jun 2009 01:06:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.khax.net/?p=123#comment-55</guid>
		<description>Mixed-success.  I have much to document.  But first the bad news.  I have my new commercial certs for my domain www.example.info, and OpenLdap wants it to match my server name, hoth.  Too bad I didn&#039;t know about wildcards or alternate certificate names.  Now the good news.  I generated two certificates on a third machine and got them installed with TLS working on both Ldap servers.  I think it balked before because I was trying to connect to the other two ldap servers with the same machine that has the CA.  To make it uglier, I was connecting through dyndns.  And I was trying to do too much other junk on top of that.

OK.  Live and learn.  Now that TLS works, I floundered updating the replication piece.  I tried updating the config database, but apparently, I was slightly off.  Looking at the update file that I created from the tutorial, it looks like I should be able to re-run it.  I thought it would just replace the olcSyncRepl line, but no dice.  It gives a message that it is updating, and then hangs.  If I control -c and get back to the command prompt, it hangs if I try to do an ldapsearch.  If I control -c and then /etc/init.d/slapd restart, I can ldapsearch again and see that it didn&#039;t update the config.  Being a clever fellow, I went to the other server figuring that if I got it right, it would replicate.  I didn&#039;t get it right.  Same behavior when I try to re-run the file.

Do you by chance know how to delete the syncrepl bit so that I can keep trying to get it right?  Here&#039;s what the file looks like:

dn: olcDatabase={0}config,cn=config
replace: olcSyncrepl
olcSyncrepl: {0}rid=001 provider=ldap:///www.example.info binddn=&quot;cn=admin,cn
 =config&quot; bindmethod=simple credentials=password searchbase=&quot;cn=config&quot; type=refreshAndPersist retry=&quot;5 5 300 5&quot; timeout=1 starttls=yes
olcSyncrepl: {1}rid=002 provider=ldap:///casserver.example.info binddn=&quot;cn=admin,cn
 =config&quot; bindmethod=simple credentials=password searchbase=&quot;cn=config&quot; type=refreshAndPersist retry=&quot;5 5 300 5&quot; timeout=1 starttls=yes

BTW, in case you notice, I have  an example.info domain where my servers are running, but my ldap is setup as cn=example,cn=com because I have that domain also. 

Thanks for all your help.  I hope this can help others.  Openldap is hard.
Paul</description>
		<content:encoded><![CDATA[<p>Mixed-success.  I have much to document.  But first the bad news.  I have my new commercial certs for my domain <a href="http://www.example.info" rel="nofollow">http://www.example.info</a>, and OpenLdap wants it to match my server name, hoth.  Too bad I didn&#8217;t know about wildcards or alternate certificate names.  Now the good news.  I generated two certificates on a third machine and got them installed with TLS working on both Ldap servers.  I think it balked before because I was trying to connect to the other two ldap servers with the same machine that has the CA.  To make it uglier, I was connecting through dyndns.  And I was trying to do too much other junk on top of that.</p>
<p>OK.  Live and learn.  Now that TLS works, I floundered updating the replication piece.  I tried updating the config database, but apparently, I was slightly off.  Looking at the update file that I created from the tutorial, it looks like I should be able to re-run it.  I thought it would just replace the olcSyncRepl line, but no dice.  It gives a message that it is updating, and then hangs.  If I control -c and get back to the command prompt, it hangs if I try to do an ldapsearch.  If I control -c and then /etc/init.d/slapd restart, I can ldapsearch again and see that it didn&#8217;t update the config.  Being a clever fellow, I went to the other server figuring that if I got it right, it would replicate.  I didn&#8217;t get it right.  Same behavior when I try to re-run the file.</p>
<p>Do you by chance know how to delete the syncrepl bit so that I can keep trying to get it right?  Here&#8217;s what the file looks like:</p>
<p>dn: olcDatabase={0}config,cn=config<br />
replace: olcSyncrepl<br />
olcSyncrepl: {0}rid=001 provider=ldap:///www.example.info binddn=&#8221;cn=admin,cn<br />
 =config&#8221; bindmethod=simple credentials=password searchbase=&#8221;cn=config&#8221; type=refreshAndPersist retry=&#8221;5 5 300 5&#8243; timeout=1 starttls=yes<br />
olcSyncrepl: {1}rid=002 provider=ldap:///casserver.example.info binddn=&#8221;cn=admin,cn<br />
 =config&#8221; bindmethod=simple credentials=password searchbase=&#8221;cn=config&#8221; type=refreshAndPersist retry=&#8221;5 5 300 5&#8243; timeout=1 starttls=yes</p>
<p>BTW, in case you notice, I have  an example.info domain where my servers are running, but my ldap is setup as cn=example,cn=com because I have that domain also. </p>
<p>Thanks for all your help.  I hope this can help others.  Openldap is hard.<br />
Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.khax.net/2009/04/03/notes-on-ubuntu-810-serverguide-openldap/#comment-54</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sat, 06 Jun 2009 22:18:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.khax.net/?p=123#comment-54</guid>
		<description>Hey I&#039;m back at it.  Sorry for not checking back.  I ended up buying certs from Godaddy.  I definitely would not do the self-signed thing again.  As a noobie to ssl and openldap, it created confusion that was hard for me to solve.  This tutorial has already helped me again today.  I&#039;ll post the things that a ran into soon and hopefully news of my success.

Thanks again.

P.S.  You are definitely still a hero!</description>
		<content:encoded><![CDATA[<p>Hey I&#8217;m back at it.  Sorry for not checking back.  I ended up buying certs from Godaddy.  I definitely would not do the self-signed thing again.  As a noobie to ssl and openldap, it created confusion that was hard for me to solve.  This tutorial has already helped me again today.  I&#8217;ll post the things that a ran into soon and hopefully news of my success.</p>
<p>Thanks again.</p>
<p>P.S.  You are definitely still a hero!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

