Anonymous_User Absent Member.
Absent Member.
415 views

"DS Object" resource, how to add custom aux class?

Right-click on a driver/driverset, choose "New...", then "DS Object...", then
browse the vault for e.g. an existing object has a custom aux class and some
attributes from that aux class added. Designer creates a resource object of
type "application/vnd.novell.dirxml.ds-object+xml" that includes your aux
attributes, but NOT the aux class! When I try to deploy the resource, I run
into an error -608 ILLEGAL ATTR.

Well, so let's add the missing aux class, right? But how...?

Example:

<?xml version="1.0" encoding="UTF-8"?><ds-object base-dn="OU=Groups.O=Data"
ds-object-class="Group" ds-object-name="Test">
<ds-attributes>
<ds-attribute ds-attr-name="auxGroupType">
<ds-value contains="text">ExtendedGroupTest</ds-value>
</ds-attribute>
<ds-attribute ds-attr-name="Owner">
<ds-value contains="text">idmadmin.Admin</ds-value>
</ds-attribute>
<ds-attribute ds-attr-name="CN">
<ds-value contains="text">Test</ds-value>
</ds-attribute>
<ds-attribute ds-attr-name="ACL">
<ds-value>
<component name="privilege"><![CDATA[2]]></component>
<component name="subject"><![CDATA[[Root]]]></component>
<component name="protected-attr"><![CDATA[Member]]></component>
</ds-value>
</ds-attribute>
</ds-attributes>
</ds-object>

I would need to add an aux class "auxGroupExtended" to this object, anyone done
this before?

(Before you waste your time: an additional "ds-object-class" xml attributes do
not work, adding a ds-attribute[@ds-attr-name="Object Class"] node does not
work, and none of the 350+ DTDs that come with Designer 402 covers this)
Labels (1)
0 Likes
3 Replies
Knowledge Partner
Knowledge Partner

Re: "DS Object" resource, how to add custom aux class?

On 7/4/2012 8:53 AM, Lothar Haeger wrote:
> Right-click on a driver/driverset, choose "New...", then "DS Object...", then
> browse the vault for e.g. an existing object has a custom aux class and some
> attributes from that aux class added. Designer creates a resource object of
> type "application/vnd.novell.dirxml.ds-object+xml" that includes your aux
> attributes, but NOT the aux class! When I try to deploy the resource, I run
> into an error -608 ILLEGAL ATTR.
>
> Well, so let's add the missing aux class, right? But how...?
>
> Example:
>
> <?xml version="1.0" encoding="UTF-8"?><ds-object base-dn="OU=Groups.O=Data"
> ds-object-class="Group" ds-object-name="Test">
> <ds-attributes>
> <ds-attribute ds-attr-name="auxGroupType">
> <ds-value contains="text">ExtendedGroupTest</ds-value>
> </ds-attribute>
> <ds-attribute ds-attr-name="Owner">
> <ds-value contains="text">idmadmin.Admin</ds-value>
> </ds-attribute>
> <ds-attribute ds-attr-name="CN">
> <ds-value contains="text">Test</ds-value>
> </ds-attribute>
> <ds-attribute ds-attr-name="ACL">
> <ds-value>
> <component name="privilege"><![CDATA[2]]></component>
> <component name="subject"><![CDATA[[Root]]]></component>
> <component name="protected-attr"><![CDATA[Member]]></component>
> </ds-value>
> </ds-attribute>
> </ds-attributes>
> </ds-object>
>
> I would need to add an aux class "auxGroupExtended" to this object, anyone done
> this before?
>
> (Before you waste your time: an additional "ds-object-class" xml attributes do
> not work, adding a ds-attribute[@ds-attr-name="Object Class"] node does not
> work, and none of the 350+ DTDs that come with Designer 402 covers this)


It is the entitlement DTD that refers to it, and they did not get it
updated in time for the 4.02 release. Open an SR?



0 Likes
Knowledge Partner
Knowledge Partner

Re: "DS Object" resource, how to add custom aux class?

On 7/4/2012 9:10 AM, Geoffrey Carman wrote:
> On 7/4/2012 8:53 AM, Lothar Haeger wrote:
>> Right-click on a driver/driverset, choose "New...", then "DS
>> Object...", then
>> browse the vault for e.g. an existing object has a custom aux class
>> and some
>> attributes from that aux class added. Designer creates a resource
>> object of
>> type "application/vnd.novell.dirxml.ds-object+xml" that includes your aux
>> attributes, but NOT the aux class! When I try to deploy the resource,
>> I run
>> into an error -608 ILLEGAL ATTR.
>>
>> Well, so let's add the missing aux class, right? But how...?
>>
>> Example:
>>
>> <?xml version="1.0" encoding="UTF-8"?><ds-object
>> base-dn="OU=Groups.O=Data"
>> ds-object-class="Group" ds-object-name="Test">
>> <ds-attributes>
>> <ds-attribute ds-attr-name="auxGroupType">
>> <ds-value contains="text">ExtendedGroupTest</ds-value>
>> </ds-attribute>
>> <ds-attribute ds-attr-name="Owner">
>> <ds-value contains="text">idmadmin.Admin</ds-value>
>> </ds-attribute>
>> <ds-attribute ds-attr-name="CN">
>> <ds-value contains="text">Test</ds-value>
>> </ds-attribute>
>> <ds-attribute ds-attr-name="ACL">
>> <ds-value>
>> <component name="privilege"><![CDATA[2]]></component>
>> <component name="subject"><![CDATA[[Root]]]></component>
>> <component
>> name="protected-attr"><![CDATA[Member]]></component>
>> </ds-value>
>> </ds-attribute>
>> </ds-attributes>
>> </ds-object>
>>
>> I would need to add an aux class "auxGroupExtended" to this object,
>> anyone done
>> this before?
>>
>> (Before you waste your time: an additional "ds-object-class" xml
>> attributes do
>> not work, adding a ds-attribute[@ds-attr-name="Object Class"] node
>> does not
>> work, and none of the 350+ DTDs that come with Designer 402 covers this)

>
> It is the entitlement DTD that refers to it, and they did not get it
> updated in time for the 4.02 release. Open an SR?


My feeling is that your idea of :
ds-attribute[@ds-attr-name="Object Class"]

ought to work, but you need all the ds-values in it. I.e. These are not
add an attribute, they are set's and therefore need all of them.

However it is entirely possible it may not even work at all. I think an
SR/bug is the way to go on this one for now.




0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: "DS Object" resource, how to add custom aux class?

Geoffrey Carman wrote:

> My feeling is that your idea of :
> ds-attribute[@ds-attr-name="Object Class"]
>
> ought to work, but you need all the ds-values in it. I.e. These are not add
> an attribute, they are set's and therefore need all of them.


tried both ways, neither worked, unfortunately.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.