<?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: Setting up OpenLDAP on Ubuntu 10.04 Alpha 2 (Lucid)</title>
	<atom:link href="http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2/feed" rel="self" type="application/rss+xml" />
	<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2</link>
	<description>Supporting learning in schools with Linux</description>
	<lastBuildDate>Mon, 19 Jul 2010 06:55:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Fahad</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-220</link>
		<dc:creator>Fahad</dc:creator>
		<pubDate>Thu, 15 Jul 2010 11:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-220</guid>
		<description>Hi,

every thing is working fine but the problem is i am unable to add users or groups as it is giving me the following error when I try to give command of ldapaddgroup testgroup. However, these commands are already installed on my server and I am trying to add user or group on server side.


you must have Openldap client commands installed before running these scripts</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>every thing is working fine but the problem is i am unable to add users or groups as it is giving me the following error when I try to give command of ldapaddgroup testgroup. However, these commands are already installed on my server and I am trying to add user or group on server side.</p>
<p>you must have Openldap client commands installed before running these scripts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Difference between /etc/ldap.conf vs. /etc/ldap/ldap.conf</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-219</link>
		<dc:creator>Difference between /etc/ldap.conf vs. /etc/ldap/ldap.conf</dc:creator>
		<pubDate>Wed, 14 Jul 2010 08:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-219</guid>
		<description>[...] Blue Ice,  I have used the following link to configure the ldap server on Ubuntu 10.04 LTS.   http://www.opinsys.fi/setting-up-ope...u-10-04-alpha2  and what I did is I created a ldif file of database from old server and copy its contents in [...]</description>
		<content:encoded><![CDATA[<p>[...] Blue Ice,  I have used the following link to configure the ldap server on Ubuntu 10.04 LTS.   <a href="http://www.opinsys.fi/setting-up-ope...u-10-04-alpha2" rel="nofollow">http://www.opinsys.fi/setting-up-ope&#8230;u-10-04-alpha2</a>  and what I did is I created a ldif file of database from old server and copy its contents in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ^_^</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-216</link>
		<dc:creator>^_^</dc:creator>
		<pubDate>Tue, 15 Jun 2010 13:36:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-216</guid>
		<description>Same problem I think, set my binddn in /etc/nslcd.conf then nslcd -d.

Debug when I try to login:

nslcd: [7b23c6] DEBUG: ldap_simple_bind_s(&quot;uid=read-only,dc=bidcactus,dc=com&quot;,&quot;*****&quot;) (uri=&quot;ldaps://ldap1.server.com/&quot;)
nslcd: [7b23c6] connected to LDAP server ldaps://ldap1.server.com/
nslcd: [7b23c6] ldap_result() failed: No such object
nslcd: [7b23c6] &quot;testuser&quot;: user not found

Strange, because when I use libnss-ldap instead, it binds and can find users with no problem.</description>
		<content:encoded><![CDATA[<p>Same problem I think, set my binddn in /etc/nslcd.conf then nslcd -d.</p>
<p>Debug when I try to login:</p>
<p>nslcd: [7b23c6] DEBUG: ldap_simple_bind_s(&#8220;uid=read-only,dc=bidcactus,dc=com&#8221;,&#8221;*****&#8221;) (uri=&#8221;ldaps://ldap1.server.com/&#8221;)<br />
nslcd: [7b23c6] connected to LDAP server ldaps://ldap1.server.com/<br />
nslcd: [7b23c6] ldap_result() failed: No such object<br />
nslcd: [7b23c6] &#8220;testuser&#8221;: user not found</p>
<p>Strange, because when I use libnss-ldap instead, it binds and can find users with no problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zeratul</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-215</link>
		<dc:creator>zeratul</dc:creator>
		<pubDate>Fri, 11 Jun 2010 16:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-215</guid>
		<description>Hey, you should add &quot;apt-get install ldapscripts&quot; to you tut!
And do i have to use ldapadduser/group on the server to add users? I get error with ldapaddgroup bla
Error adding group bla to LDAP
on server it says:
Unable to read password file, exiting...
so i am not able to add groups or users with ldapscripts :(
pls help.
thx</description>
		<content:encoded><![CDATA[<p>Hey, you should add &#8220;apt-get install ldapscripts&#8221; to you tut!<br />
And do i have to use ldapadduser/group on the server to add users? I get error with ldapaddgroup bla<br />
Error adding group bla to LDAP<br />
on server it says:<br />
Unable to read password file, exiting&#8230;<br />
so i am not able to add groups or users with ldapscripts <img src='http://www.opinsys.fi/en/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
pls help.<br />
thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lomik</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-214</link>
		<dc:creator>Lomik</dc:creator>
		<pubDate>Sun, 02 May 2010 20:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-214</guid>
		<description>Hello,
It seems that i have a similar problem to Marcos and Giorgios.

After running &#039;nslcd -d&#039; and doing &#039;getent passwd&#039; i get:
&#039;nslcd: [8b4567] DEBUG: connection from pid=27329 uid=1000 gid=1000
nslcd: [8b4567] DEBUG: nslcd_passwd_all()
nslcd: [8b4567] DEBUG: myldap_search(base=&quot;dc=edu,dc=example,dc=org/&quot;, filter=&quot;(objectClass=posixAccount)&quot;)
nslcd: [8b4567] DEBUG: ldap_initialize(ldap://127.0.0.1/)
nslcd: [8b4567] DEBUG: ldap_set_rebind_proc()
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_PROTOCOL_VERSION,3)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_DEREF,0)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_TIMELIMIT,0)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_TIMEOUT,0)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT,0)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_REFERRALS,LDAP_OPT_ON)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_RESTART,LDAP_OPT_ON)
nslcd: [8b4567] DEBUG: ldap_simple_bind_s(NULL,NULL) (uri=&quot;ldap://127.0.0.1/&quot;)
nslcd: [8b4567] connected to LDAP server ldap://127.0.0.1/
nslcd: [8b4567] ldap_result() failed: No such object&#039;

Tried using &#039;ldapsearch -D uid=testuser,ou=People,dc=edu,dc=example,dc=org -W -x -b dc=edu,dc=example,dc=org&#039; with &#039;example&#039; as passwd but get: &#039;ldap_bind: Invalid credentials (49)&#039;

And &#039;ldapsearch -x&#039; gives:
&#039;# extended LDIF
#
# LDAPv3
# base  (default) with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

# numResponses: 1&#039;

thx</description>
		<content:encoded><![CDATA[<p>Hello,<br />
It seems that i have a similar problem to Marcos and Giorgios.</p>
<p>After running &#8216;nslcd -d&#8217; and doing &#8216;getent passwd&#8217; i get:<br />
&#8216;nslcd: [8b4567] DEBUG: connection from pid=27329 uid=1000 gid=1000<br />
nslcd: [8b4567] DEBUG: nslcd_passwd_all()<br />
nslcd: [8b4567] DEBUG: myldap_search(base=&#8221;dc=edu,dc=example,dc=org/&#8221;, filter=&#8221;(objectClass=posixAccount)&#8221;)<br />
nslcd: [8b4567] DEBUG: ldap_initialize(ldap://127.0.0.1/)<br />
nslcd: [8b4567] DEBUG: ldap_set_rebind_proc()<br />
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_PROTOCOL_VERSION,3)<br />
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_DEREF,0)<br />
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_TIMELIMIT,0)<br />
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_TIMEOUT,0)<br />
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT,0)<br />
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_REFERRALS,LDAP_OPT_ON)<br />
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_RESTART,LDAP_OPT_ON)<br />
nslcd: [8b4567] DEBUG: ldap_simple_bind_s(NULL,NULL) (uri=&#8221;ldap://127.0.0.1/&#8221;)<br />
nslcd: [8b4567] connected to LDAP server ldap://127.0.0.1/<br />
nslcd: [8b4567] ldap_result() failed: No such object&#8217;</p>
<p>Tried using &#8216;ldapsearch -D uid=testuser,ou=People,dc=edu,dc=example,dc=org -W -x -b dc=edu,dc=example,dc=org&#8217; with &#8216;example&#8217; as passwd but get: &#8216;ldap_bind: Invalid credentials (49)&#8217;</p>
<p>And &#8216;ldapsearch -x&#8217; gives:<br />
&#8216;# extended LDIF<br />
#<br />
# LDAPv3<br />
# base  (default) with scope subtree<br />
# filter: (objectclass=*)<br />
# requesting: ALL<br />
#</p>
<p># search result<br />
search: 2<br />
result: 32 No such object</p>
<p># numResponses: 1&#8242;</p>
<p>thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giorgio</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-213</link>
		<dc:creator>Giorgio</dc:creator>
		<pubDate>Wed, 28 Apr 2010 11:21:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-213</guid>
		<description>Hello M@rco.
I still have problem with this setup.
nscd still running.
sudo getent passwd works showing the user i created but if i try to ssh with this users i have an auth error.
Another problem is that the user creation does not create the home dir.</description>
		<content:encoded><![CDATA[<p>Hello M@rco.<br />
I still have problem with this setup.<br />
nscd still running.<br />
sudo getent passwd works showing the user i created but if i try to ssh with this users i have an auth error.<br />
Another problem is that the user creation does not create the home dir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M@rco</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-212</link>
		<dc:creator>M@rco</dc:creator>
		<pubDate>Sun, 25 Apr 2010 00:12:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-212</guid>
		<description>Hello Giorgio,
I think that i have the same problem ! can you give me the complete line you entered in the

# The DN to bind with for normal lookups.
binddn

line ?

Thx,
Marco</description>
		<content:encoded><![CDATA[<p>Hello Giorgio,<br />
I think that i have the same problem ! can you give me the complete line you entered in the</p>
<p># The DN to bind with for normal lookups.<br />
binddn</p>
<p>line ?</p>
<p>Thx,<br />
Marco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: giorgio</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-211</link>
		<dc:creator>giorgio</dc:creator>
		<pubDate>Wed, 21 Apr 2010 16:11:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-211</guid>
		<description>Ok. finally seems to work.
I started nslcd with the -d parameter to debug. I had an error in the binddn parameter.
I put there the admin dn and password.
At next reboot it&#039;s seems to work.
Should i use anonymous bind ? or is correct to use admin dn?
Thanks!!!

Giorgio</description>
		<content:encoded><![CDATA[<p>Ok. finally seems to work.<br />
I started nslcd with the -d parameter to debug. I had an error in the binddn parameter.<br />
I put there the admin dn and password.<br />
At next reboot it&#8217;s seems to work.<br />
Should i use anonymous bind ? or is correct to use admin dn?<br />
Thanks!!!</p>
<p>Giorgio</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: giorgio</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-210</link>
		<dc:creator>giorgio</dc:creator>
		<pubDate>Wed, 21 Apr 2010 15:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-210</guid>
		<description>Hi,
Thank you for the response.
I can see user in ldap directory.

ps -ax return :  2272 ?        Ssl    0:00 /usr/sbin/nscd
so it&#039;s still up and running.

my nsswich.conf is :
passwd:         files ldap
group:          files ldap
shadow:         files

in nslcd.conf the uri andthebase are correct.

I have to stop nscd ?

Giorgio</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thank you for the response.<br />
I can see user in ldap directory.</p>
<p>ps -ax return :  2272 ?        Ssl    0:00 /usr/sbin/nscd<br />
so it&#8217;s still up and running.</p>
<p>my nsswich.conf is :<br />
passwd:         files ldap<br />
group:          files ldap<br />
shadow:         files</p>
<p>in nslcd.conf the uri andthebase are correct.</p>
<p>I have to stop nscd ?</p>
<p>Giorgio</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veli-Matti Lintu</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-209</link>
		<dc:creator>Veli-Matti Lintu</dc:creator>
		<pubDate>Wed, 21 Apr 2010 13:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-209</guid>
		<description>First make sure that the user is in the ldap directory. Running &quot;ldapsearch -x&quot; should return it. After that make sure that nscd is not running (ps -ex should not list it). If it&#039;s still not working, check the nss settings in /etc/nsswitch.conf and the settings for nslcd that is used by nss-ldapd in /etc/nslcd.conf. The settings to look for are uri and base and they should match your ldap server.

I hope that helps!</description>
		<content:encoded><![CDATA[<p>First make sure that the user is in the ldap directory. Running &#8220;ldapsearch -x&#8221; should return it. After that make sure that nscd is not running (ps -ex should not list it). If it&#8217;s still not working, check the nss settings in /etc/nsswitch.conf and the settings for nslcd that is used by nss-ldapd in /etc/nslcd.conf. The settings to look for are uri and base and they should match your ldap server.</p>
<p>I hope that helps!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
