[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: memberOf overlay issues
- To: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: Re: memberOf overlay issues
- From: Brendan Kearney <bpk678@gmail.com>
- Date: Wed, 07 May 2014 21:43:27 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:in-reply-to:references:content-type :mime-version:content-transfer-encoding; bh=OEjkrKonBGKA+7gXyBZ7KMI2YlYwV7ne1GHbyx5sWds=; b=gMiCP0PfVQ9cnMJfYMQgELOz2tS+FO327ydnByH0rjB3tAlPASdrVYfbA7rD3TygNg gUb9NaEOnQf0UW4rv/g8GQ7/DBZbp13Awib5ayHPd3ZyLuUKszLgVU48L9hm87V9csBE n6AcGMBsJueIWQUDhp09KLkI9cW9yMbaOfhxZd69TXleTGBhuk6HQbViyn2Dn3sxd7hx k6EHic94rYIIrg5Ae1O4ua0ywVPkBmnvpZONztBOhg1DmmSPMUOkpuz/XuXOIEtH8a2U L8dc/S9Mup23t5hYk+Xyyk0naEQJIICAguCUV3NqzSTT9VvqQf9lyEK0hJ5d0GDKgIuD G6Cw==
- In-reply-to: <1399336377.16854.4.camel@desktop.bpk2.com>
- References: <1399336377.16854.4.camel@desktop.bpk2.com>
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.