<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Keith,<br>
<br>
I'm not entirely sure. I have created the slapdconf utility as one
of my side projects mostly to speed up things that I'm doing with
OpenLDAP frequently. I'm sure that it does not cover all the
cases, but it is a very useful tool anyway. The OpenLDAP
documentation for the OLC (cn=config) configuration is ... well,
let's just say it has a potential for improvement. I have
discovered the configuration objects that slapdconf manipulates
mostly by trial and error and by googling the mailing lists.<br>
<br>
The OpenLDAP instances that I use already have the
cn=module{0},cn=config entry. I currently use OpenLDAP 2.4.42 on
Ubuntu, but I have used wide variety of OpenLDAP versions during
last couple of years and all of them had the
cn=module{0},cn=config entry. So naturally I haven't ever wondered
how to enable it.<br>
<br>
Maybe the OpenLDAP mailing list is the right place where to ask
this question? Maybe
<a class="moz-txt-link-freetext" href="http://www.openldap.org/lists/mm/listinfo/openldap-technical">http://www.openldap.org/lists/mm/listinfo/openldap-technical</a><br>
<br>
Asking for better documentation on the OpenLDAP list may put more
pressure on OpenLDAP team to finally update the information on the
OLC-style configuration.<br>
<br>
If you find out that there is a bug in slapdconf I will be happy
to fix it.<br>
<br>
<pre class="moz-signature" cols="72">--
Radovan Semancik
Software Architect
evolveum.com
</pre>
<br>
<br>
On 08/13/2016 02:12 AM, Keith Hazelton wrote:<br>
</div>
<blockquote cite="mid:D00023BD-DD47-453A-8576-90647BBD68D3@wisc.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:宋体;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Calibri;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Calibri;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:Calibri;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal" style="text-autospace:none">I’m following
the steps on installing and configuring OpenLDAP for use with
midPoint that are provided at
<a moz-do-not-send="true"
href="https://wiki.evolveum.com/display/midPoint/OpenLDAP+Installation+and+Configuration"><span
style="color:#0B4CB4">https://wiki.evolveum.com/display/midPoint/OpenLDAP+Installation+and+Configuration</span></a><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="color:#2C1A1A">I used yum to install OpenLDAP.</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none">At the “Setting
up Overlays” step I get an error trying to add modules:<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"> <o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="color:#2C1A1A">midpoint#>./slapdconf add-module
sssvlv</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="color:#2C1A1A">Cannot find module configuration entry
(olcModuleList) at ./slapdconf line 844, <DATA> line
747.</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="color:#2C1A1A">at ./slapdconf line 107, <DATA>
line 747.</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="color:#2C1A1A"> main::__ANON__('Cannot find
module configuration entry (olcModuleList) at ./s...')
called at ./slapdconf line 844</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="color:#2C1A1A"> main::addModule() called at
./slapdconf line 150</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="color:#2C1A1A"> </span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="color:#2C1A1A">It’s clear enough that there is no
entry under cn=config for olcModuleList so it seems my
install of OpenLDAP has no support for dynamic modules<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="color:#2C1A1A">OpenLDAP 2.4 admin documentation
includes the following</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none">5.2.2.
cn=module: If support for dynamically loaded modules was
enabled when configuring slapd, cn=module entries may be used
to specify sets of modules to load.<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none">Did I miss a
configurations step that would have enabled dynamically loaded
modules?<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"> Thanks
in advance for any help, --Keith Hazelton (<a
moz-do-not-send="true" href="mailto:hazelton@wisc.edu"><span
style="color:#0B4CB4">hazelton@wisc.edu</span></a>)<o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:15.0pt;color:#2C1A1A"> </span><span
style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<div>
<div>
<p class="MsoNormal"><span
style="font-size:10.5pt;color:#888888">-- <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:10.5pt;color:#888888">email &
jabber:
<a moz-do-not-send="true"
href="mailto:keith.hazelton@wisc.edu"
target="_blank"><span style="color:blue">keith.hazelton@wisc.edu</span></a><o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span
style="font-size:10.5pt;color:#888888">calendar: <a
moz-do-not-send="true" href="http://go.wisc.edu/i6zxx0"
target="_blank">
<span style="color:blue">http://go.wisc.edu/i6zxx0</span></a></span><o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>