views:

9

answers:

0

I have a custom schema with my own object classes and custom attributes defined. I have some sample data imported in to OpenDS based on this schema and am facing a weird issue. One of the optional attributes for my object class is "File" which is of type "binary". When i try and manually add a file to any of the entries using the "edit" option next to the entry and then try and save it I get a "Entry is not valid. DN is invalid" error. I don't see why me adding a file to an optional binary attribute should mess up the DN in anyway.

Also the dn for each entry is cn=xxx,ou=xxx,dc=example,dc=com but whenever I try to add a file to an existing entry the dn gets changed to preferredDeliveryMethod=,ou=xxx,dc=example,dc=com

So the error in pointing out the incorrect dn makes sense, but why would it do that automatically. Am I missing something ?

Any help would be much appreciated.