<?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>Artikkelin Setting up OpenLDAP on Ubuntu 10.04 Alpha 2 (Lucid) kommentit</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>Thu, 05 Jan 2012 23:12:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>Kirjoittaja: Aleks Honma</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-19808</link>
		<dc:creator>Aleks Honma</dc:creator>
		<pubDate>Tue, 29 Nov 2011 02:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-19808</guid>
		<description>Great article!

Help is appreciated.

I can&#039;t seem to find how to enable/add more &quot;administrators&quot; to be able to write to the directory.

Also, how do I enable authentication different from &quot;-Y EXTERNAL -H ldapi:///&quot;.

Many thanks,
Aleks</description>
		<content:encoded><![CDATA[<p>Great article!</p>
<p>Help is appreciated.</p>
<p>I can&#8217;t seem to find how to enable/add more &#8220;administrators&#8221; to be able to write to the directory.</p>
<p>Also, how do I enable authentication different from &#8220;-Y EXTERNAL -H ldapi:///&#8221;.</p>
<p>Many thanks,<br />
Aleks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kirjoittaja: Dan Bishop &#187; Ubuntu 11.10 SBS (Small Business Server) Setup: Part 6 – Account Management</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-18476</link>
		<dc:creator>Dan Bishop &#187; Ubuntu 11.10 SBS (Small Business Server) Setup: Part 6 – Account Management</dc:creator>
		<pubDate>Sat, 29 Oct 2011 11:11:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-18476</guid>
		<description>[...] http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2 [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2" rel="nofollow">http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kirjoittaja: Dan Bishop &#187; Ubuntu 10.04 SBS (Small Business Server) Setup: Part 4 – OpenLDAP Account Management</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-5310</link>
		<dc:creator>Dan Bishop &#187; Ubuntu 10.04 SBS (Small Business Server) Setup: Part 4 – OpenLDAP Account Management</dc:creator>
		<pubDate>Thu, 03 Feb 2011 15:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-5310</guid>
		<description>[...] http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2 [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2" rel="nofollow">http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kirjoittaja: efe</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-2633</link>
		<dc:creator>efe</dc:creator>
		<pubDate>Sun, 28 Nov 2010 22:12:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-2633</guid>
		<description>Hi 
This for document thanks Ubuntu for 10-4 very problem openldap</description>
		<content:encoded><![CDATA[<p>Hi<br />
This for document thanks Ubuntu for 10-4 very problem openldap</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kirjoittaja: SileNT</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-1439</link>
		<dc:creator>SileNT</dc:creator>
		<pubDate>Tue, 19 Oct 2010 23:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-1439</guid>
		<description>Didn&#039;t really work:

# ldapadd -Y EXTERNAL -H ldapi:/// -f init_database.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
adding new entry &quot;dc=example,dc=com&quot;
ldap_add: Server is unwilling to perform (53)
	additional info: no global superior knowledge


Any clues on how to fix it?</description>
		<content:encoded><![CDATA[<p>Didn&#8217;t really work:</p>
<p># ldapadd -Y EXTERNAL -H ldapi:/// -f init_database.ldif<br />
SASL/EXTERNAL authentication started<br />
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth<br />
SASL SSF: 0<br />
adding new entry &#8220;dc=example,dc=com&#8221;<br />
ldap_add: Server is unwilling to perform (53)<br />
	additional info: no global superior knowledge</p>
<p>Any clues on how to fix it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kirjoittaja: Nick Piggott</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-1191</link>
		<dc:creator>Nick Piggott</dc:creator>
		<pubDate>Sun, 03 Oct 2010 18:47:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-1191</guid>
		<description>This was excellent, and fixed a problem I had been battling with for ours. The official 10.04 Documentation on the Ubuntu website follows a process that is no longer valid under the standard install of 10.04. Well done for this fix.</description>
		<content:encoded><![CDATA[<p>This was excellent, and fixed a problem I had been battling with for ours. The official 10.04 Documentation on the Ubuntu website follows a process that is no longer valid under the standard install of 10.04. Well done for this fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kirjoittaja: Veli-Matti Lintu</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-778</link>
		<dc:creator>Veli-Matti Lintu</dc:creator>
		<pubDate>Wed, 08 Sep 2010 07:26:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-778</guid>
		<description>ldapscript package needs to be installed with &quot;apt-get install ldapscripts&quot;</description>
		<content:encoded><![CDATA[<p>ldapscript package needs to be installed with &#8220;apt-get install ldapscripts&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kirjoittaja: niki</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-711</link>
		<dc:creator>niki</dc:creator>
		<pubDate>Thu, 02 Sep 2010 07:05:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-711</guid>
		<description>I dont have /etc/ldapscripts/ldapscripts.conf file. why?</description>
		<content:encoded><![CDATA[<p>I dont have /etc/ldapscripts/ldapscripts.conf file. why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kirjoittaja: Slovarik</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-396</link>
		<dc:creator>Slovarik</dc:creator>
		<pubDate>Tue, 03 Aug 2010 18:13:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-396</guid>
		<description>I&#039;ve  got same problem as Janne Talvio on 16.02.2010 post but when I&#039;m trying &quot;ldapsearch -D uid=testuser,ou=People,dc=edu,dc=example,dc=org -W -x -b dc=edu,dc=example,dc=org&quot; it says I&#039;m entered invalid credentials.

I&#039;ve tried this howto several time and always got myself stuck with bad binding. Where should I search for the source of the problem?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve  got same problem as Janne Talvio on 16.02.2010 post but when I&#8217;m trying &#8220;ldapsearch -D uid=testuser,ou=People,dc=edu,dc=example,dc=org -W -x -b dc=edu,dc=example,dc=org&#8221; it says I&#8217;m entered invalid credentials.</p>
<p>I&#8217;ve tried this howto several time and always got myself stuck with bad binding. Where should I search for the source of the problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kirjoittaja: Slt</title>
		<link>http://www.opinsys.fi/en/setting-up-openldap-on-ubuntu-10-04-alpha2#comment-395</link>
		<dc:creator>Slt</dc:creator>
		<pubDate>Tue, 03 Aug 2010 15:30:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.opinsys.fi/?p=870#comment-395</guid>
		<description>Hi there, thanks for the tutorial
I made this script:
----------------------------------------------------------------
#!/bin/sh
passwd=xxxxxx
dc1=host
dc2=com
hash_pw=`slappasswd -h &quot;{MD5}&quot; -s $passwd`
tmpdir=/tmp

ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/cosine.ldif
ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/inetorgperson.ldif
ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/nis.ldif
ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/misc.ldif
#-------------------------------------------------------------------#
#
# create_database.ldif
#
#-------------------------------------------------------------------#
cat &lt; $tmpdir/create_database.ldif
# Load dynamic backend modules
dn: cn=module{0},cn=config
objectClass: olcModuleList
cn: module
olcModulepath: /usr/lib/ldap
olcModuleload: {0}back_hdb

# Create the database
dn: olcDatabase={1}hdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcHdbConfig
olcDatabase: {1}hdb
olcDbDirectory: /var/lib/ldap
olcSuffix: dc=$dc1,dc=$dc2
olcRootDN: uid=admin,dc=$dc1,dc=$dc2
olcRootPW: $passwd
olcDbConfig: {0}set_cachesize 0 2097152 0
olcDbConfig: {1}set_lk_max_objects 1500
olcDbConfig: {2}set_lk_max_locks 1500
olcDbConfig: {3}set_lk_max_lockers 1500
olcLastMod: TRUE
olcDbCheckpoint: 512 30
olcDbIndex: uid pres,eq
olcDbIndex: cn,sn,mail pres,eq,approx,sub
olcDbIndex: objectClass eq
EOF
sudo ldapadd -Y EXTERNAL -H ldapi:/// -f $tmpdir/create_database.ldif
#-------------------------------------------------------------------#
#
# init_database.ldif
#
#-------------------------------------------------------------------#
cat &lt; $tmpdir/init_database.ldif
dn: dc=$dc1,dc=$dc2
objectClass: dcObject
objectclass: organization
o: $dc1.$dc2
dc: $dc1
description: LDAP root

dn: ou=People,dc=$dc1,dc=$dc2
objectClass: top
objectClass: organizationalUnit
ou: People

dn: ou=Groups,dc=$dc1,dc=$dc2
objectClass: top
objectClass: organizationalUnit
ou: Groups
EOF

ldapadd -Y EXTERNAL -H ldapi:/// -f $tmpdir/init_database.ldif

#
# acl.ldif
#
cat &lt; $tmpdir/acl.ldif
dn: olcDatabase={1}hdb,cn=config
add: olcAccess
olcAccess: {0}to attrs=userPassword,shadowLastChange by dn=&quot;uid=admin,ou=People,dc=$dc1,dc=$dc2&quot; write by anonymous auth by self write by * none
olcAccess: {1}to dn.subtree=&quot;&quot; by * read
olcAccess: {2}to * by dn=&quot;uid=admin,ou=People,dc=$dc1,dc=$dc2&quot; write by * read
EOF

sudo ldapmodify -Y EXTERNAL -H ldapi:/// -f $tmpdir/acl.ldif
-------------------------------------------------------------------

this apply directly what your tutorial said.
I&#039;m on ubuntu 10.0.4 lts x64 and i tried many times to connect but without success.
Here some errors:
slapd starting
 slapd[5526]: connection_read(13): no connection!
 slapd[5526]: last message repeated 7 times
When I try to login from client:
conn=1000 op=0 do_bind: invalid dn (admin)
And when I try to log-in directly with ldapsearch -D uid=admin,ou=People,dc=....
Enter LDAP Password: 
ldap_bind: Invalid credentials (49)</description>
		<content:encoded><![CDATA[<p>Hi there, thanks for the tutorial<br />
I made this script:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
#!/bin/sh<br />
passwd=xxxxxx<br />
dc1=host<br />
dc2=com<br />
hash_pw=`slappasswd -h &#8220;{MD5}&#8221; -s $passwd`<br />
tmpdir=/tmp</p>
<p>ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/cosine.ldif<br />
ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/inetorgperson.ldif<br />
ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/nis.ldif<br />
ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/misc.ldif<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-#<br />
#<br />
# create_database.ldif<br />
#<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-#<br />
cat &lt; $tmpdir/create_database.ldif<br />
# Load dynamic backend modules<br />
dn: cn=module{0},cn=config<br />
objectClass: olcModuleList<br />
cn: module<br />
olcModulepath: /usr/lib/ldap<br />
olcModuleload: {0}back_hdb</p>
<p># Create the database<br />
dn: olcDatabase={1}hdb,cn=config<br />
objectClass: olcDatabaseConfig<br />
objectClass: olcHdbConfig<br />
olcDatabase: {1}hdb<br />
olcDbDirectory: /var/lib/ldap<br />
olcSuffix: dc=$dc1,dc=$dc2<br />
olcRootDN: uid=admin,dc=$dc1,dc=$dc2<br />
olcRootPW: $passwd<br />
olcDbConfig: {0}set_cachesize 0 2097152 0<br />
olcDbConfig: {1}set_lk_max_objects 1500<br />
olcDbConfig: {2}set_lk_max_locks 1500<br />
olcDbConfig: {3}set_lk_max_lockers 1500<br />
olcLastMod: TRUE<br />
olcDbCheckpoint: 512 30<br />
olcDbIndex: uid pres,eq<br />
olcDbIndex: cn,sn,mail pres,eq,approx,sub<br />
olcDbIndex: objectClass eq<br />
EOF<br />
sudo ldapadd -Y EXTERNAL -H ldapi:/// -f $tmpdir/create_database.ldif<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-#<br />
#<br />
# init_database.ldif<br />
#<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-#<br />
cat &lt; $tmpdir/init_database.ldif<br />
dn: dc=$dc1,dc=$dc2<br />
objectClass: dcObject<br />
objectclass: organization<br />
o: $dc1.$dc2<br />
dc: $dc1<br />
description: LDAP root</p>
<p>dn: ou=People,dc=$dc1,dc=$dc2<br />
objectClass: top<br />
objectClass: organizationalUnit<br />
ou: People</p>
<p>dn: ou=Groups,dc=$dc1,dc=$dc2<br />
objectClass: top<br />
objectClass: organizationalUnit<br />
ou: Groups<br />
EOF</p>
<p>ldapadd -Y EXTERNAL -H ldapi:/// -f $tmpdir/init_database.ldif</p>
<p>#<br />
# acl.ldif<br />
#<br />
cat &lt; $tmpdir/acl.ldif<br />
dn: olcDatabase={1}hdb,cn=config<br />
add: olcAccess<br />
olcAccess: {0}to attrs=userPassword,shadowLastChange by dn=&#8221;uid=admin,ou=People,dc=$dc1,dc=$dc2&#8243; write by anonymous auth by self write by * none<br />
olcAccess: {1}to dn.subtree=&#8221;" by * read<br />
olcAccess: {2}to * by dn=&#8221;uid=admin,ou=People,dc=$dc1,dc=$dc2&#8243; write by * read<br />
EOF</p>
<p>sudo ldapmodify -Y EXTERNAL -H ldapi:/// -f $tmpdir/acl.ldif<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>this apply directly what your tutorial said.<br />
I&#8217;m on ubuntu 10.0.4 lts x64 and i tried many times to connect but without success.<br />
Here some errors:<br />
slapd starting<br />
 slapd[5526]: connection_read(13): no connection!<br />
 slapd[5526]: last message repeated 7 times<br />
When I try to login from client:<br />
conn=1000 op=0 do_bind: invalid dn (admin)<br />
And when I try to log-in directly with ldapsearch -D uid=admin,ou=People,dc=&#8230;.<br />
Enter LDAP Password:<br />
ldap_bind: Invalid credentials (49)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

