Greg Treantos wrote:As you correctly noted, ldapadd and ldapmodify are the same command. However, the syntax of an LDAP Add request is different from an LDAP Modify request. As Quanah already pointed out to you, you are trying to use some corrupted form of LDAP Modify syntax, but since the entry you want doesn't exist, you actually need to use LDAP Add.
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.
The differences between these two are spelled out in the LDIF documentation.
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  <gtreanto@gmail.com <mailto:gtreanto@gmail.com>> wrote:    SASL username: gidNumber=0+uidNumber=0,cn=__peercred,cn=external,cn=auth
    Â>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        Â{0}/usr/lib64/openldap/membero__f.la <http://memberof.la>
    SASL SSF: 0
    add olcModuleLoad:
  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.
--
 -- Howard Chu
 CTO, Symas Corp.      http://www.symas.com
 Director, Highland Sun   http://highlandsun.com/hyc/
 Chief Architect, OpenLDAP Âhttp://www.openldap.org/project/