Hi All,

I created a new driver, and have an issue with the parameter syntax. It
seems that the RMA and UserApp are handling the entitlement definition
different.
Both RMA and Userapp successfully query the driver for group
entitlements.
When I create a resource via the UserApp, the following
nrfEntitlementRef is created:

cn=Group,cn=Test,cn=driverset1,o=system#1#<?xml version="1.0"
encoding="UTF-8"?><ref>
<src>UA</src>
<id/>
<param>{"ID":"ftp"}</param>
</ref>

When I create a resource via the RMA, the following nrfEntitlementRef
is created:

cn=Group,cn=Test,cn=driverset1,o=system#0#<ref><sr c>UA</src><id/><param>{"ID":"ftp","ID2":""}</param></ref>

When opening this resource inside the UserApp, it complains about an
invalid value.
The RMA seems to accept the value as created by the UserApp.

Anyone any idea of where 'ID2' (as set by the RMA) might be coming from
or how I can convince the UserApp to accept this empty ID2 parameter?

The query that both execute is -except for the operation data- equal:

RMA:

<nds dtdversion="2.0">
<input>
<query class-name="group" scope="subtree">
<search-class class-name="group"/>
<read-attr attr-name="cn"/>
<read-attr attr-name="description"/>
<operation-data>
<rmap-data>
<rmap-identity format="ldap"
type="dn">cn=uaadmin,ou=sa,o=data</rmap-identity>
</rmap-data>
</operation-data>
</query>
</input>
</nds>

UserApp:

<nds dtdversion="2.0">
<input>
<query class-name="group" scope="subtree">
<search-class class-name="group"/>
<read-attr attr-name="cn"/>
<read-attr attr-name="description"/>
</query>
</input>
</nds>

Thanks,
Stefaan


--
scauwe
------------------------------------------------------------------------
scauwe's Profile: https://forums.netiq.com/member.php?userid=1273
View this thread: https://forums.netiq.com/showthread.php?t=51956