Hi all,
a local variable of a driver contains a DN in slash format (
\idv\company\services\data\application\global ) and I need to convert it
to the LDAP format (
cn=GLOBAL,cn=Application,ou=Data,ou=Services,o=Com pany ). How can I
achieve this?

The ParseDN token does not add the identifier attribute and returns the
string "global,application,data,services,company" .


Code:
--------------------

<do-set-local-variable name="sub.variable.user.role.ldap" scope="policy">
<arg-string>
<token-lower-case>
<token-parse-dn dest-dn-format="ldap" src-dn-format="slash" start="1">
<token-local-variable name="current-node"/>
</token-parse-dn>
</token-lower-case>
</arg-string>
</do-set-local-variable>


--------------------


Any suggestion will be appreciated. Best regards,

Alessandro


--
afolli
------------------------------------------------------------------------
afolli's Profile: http://forums.novell.com/member.php?userid=6964
View this thread: http://forums.novell.com/showthread.php?t=450516