you were right and I'm an idiot.. The docs had the correct syntax

dn: cn=module{0},cn=config
objectClass: olcModuleList
cn: module{0}
olcModuleLoad: /<pathToModule>/<module>


On Wed, Jul 9, 2014 at 6:35 PM, Greg Treantos <gtreanto@gmail.com> wrote:
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? 



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



--
Greg

http://www.linkedin.com/in/gregtreantos