[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Antw: Re: creating a cn=config modules
>>> Greg Treantos <gtreanto@gmail.com> schrieb am 10.07.2014 um 00:35 in Nachricht
<CAGuknmjROhn5ePOppcjdVaOEJC02iZJ+Ek+JcKq6ut78-H4OzA@mail.gmail.com>:
> I have read the documentation and cannot figure out how to create a new dit
> so I can add the module I need. If you can be more specific on what I
> should be looking for that would be great. But no where have I found that
> points how to create the cn=module{0} dit so it can be populated. I don't
> know maybe I'm asking the wrong questions.
>
> from the docs
>
> 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.
> Module entries must have the olcModuleList objectClass.
>
>
> I don't have a cn=module dit, how do I create it?
Maybe use this sample:
---
5.2.2.3. Sample Entries
dn: cn=module{0},cn=config
objectClass: olcModuleList
cn: module{0}
olcModuleLoad: /usr/local/lib/smbk5pwd.la
dn: cn=module{1},cn=config
objectClass: olcModuleList
cn: module{1}
olcModulePath: /usr/local/lib:/usr/local/lib/slapd
olcModuleLoad: accesslog.la
olcModuleLoad: pcache.la
---
>
>
> On Wed, Jul 9, 2014 at 6:26 PM, Quanah Gibson-Mount <quanah@zimbra.com>
> wrote:
>
>> --On Wednesday, July 09, 2014 6:59 PM -0400 Greg Treantos <
>> gtreanto@gmail.com> wrote:
>>
>>
>>> From the man pages ldapadd is just a hardlink to ldapmodify, but I tried
>>> and got the same error
>>>
>>>
>>>
>>> ldapadd -Y EXTERNAL -H ldapi:/// -v -f ldapMdynalist.ldif
>>> ldap_initialize( ldapi:///??base )
>>> SASL/EXTERNAL authentication started
>>> SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
>>> SASL SSF: 0
>>> add olcModuleLoad:
>>> {0}/usr/lib64/openldap/memberof.la
>>>
>>
>> The above is invalid. I strongly advise you to read the documentation.
>>
>> Also, you should not be touching or creating any files inside the
>> cn=config database.
>>
>>
>> --Quanah
>>
>> --
>>
>> Quanah Gibson-Mount
>> Server Architect
>> Zimbra, Inc.
>> --------------------
>> Zimbra :: the leader in open source messaging and collaboration
>>
>
>
>
> --
> Greg
>
> http://www.linkedin.com/in/gregtreantos