[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: memberOf overlay issues



On Mon, 2014-05-05 at 20:32 -0400, Brendan Kearney wrote:
> Fedora 20, slapd 2.4.39
> 
> i am trying to add the memberOf overlay onto a database.  the module is
> loading fine, but the instantiation of the overlay causes some errors.
> it seems that an OID syntax is throwing things for a loop.  below is the
> output from "slaptest -d any".  What could i be doing wrong?
> 
> 53682a3b ldif_read_file: read entry file without checksum:
> "/etc/openldap/slapd.d/cn=config/olcDatabase={2}mdb/olcOverlay={2}memberof.ldif"
> 53682a3b => str2entry: "dn: olcOverlay={2}memberof
> objectClass: olcOverlayConfig
> objectClass: olcMemberOfConfig
> objectClass: top
> olcOverlay: {2}memberof
> structuralObjectClass: olcMemberOfConfig
> entryUUID: 881fa376-67df-1033-8b16-e73c76eb0f15
> creatorsName: cn=Manager,dc=my-domain,dc=com
> createTimestamp: 20140504135544Z
> entryCSN: 20140504135544.638618Z#000000#000#000000
> modifiersName: cn=Manager,dc=my-domain,dc=com
> modifyTimestamp: 20140504135544Z
> "
> 53682a3b >>> dnPrettyNormal: <olcOverlay={2}memberof>
> 53682a3b <<< dnPrettyNormal: <olcOverlay={2}memberof>,
> <olcOverlay={2}memberof>
> 53682a3b str2entry: invalid value for attributeType objectClass #1
> (syntax 1.3.6.1.4.1.1466.115.121.1.38)
> 53682a3b send_ldap_result: conn=-1 op=0 p=0
> 53682a3b send_ldap_result: err=80 matched="" text="internal error
> (cannot parse some entry file)"
> slaptest: bad configuration file!
> 
> 

found what my issue was.  the objectClass i used was wrong.
olcMemberOf, not olcMemberOfConfig.