The syntax of it is c=US;a= ;p=HKIEd;o=Exchange;s=YEUNG;g=Wan Hung,
Agnes;

I've tried to code it as:

<do-set-dest-attr-value name="textEncodedORAddress" when="after">
<arg-value type="string">
<token-text xml:space="preserve">c=US;a=
;p=HKIEd;o=Exchange;s=</token-text>
<token-attr name="Surname"/>
<token-text xml:space="preserve">;</token-text>
<token-text xml:space="preserve">g=</token-text>
<token-attr name="Given Name"/>
<token-text xml:space="preserve">;</token-text>
</arg-value>
</do-set-dest-attr-value>

but I got Error


<output>
<add-association dest-dn="\EIEDDEV\ied\users\isombx2806v12"
dest-entry-id="33635"
event-id="idmdev1#20120628073402#1#2:ab744de0-eeea-42db-c0a5-e04d74abeaee">5fa8a6c209b2b94c84bdf495793da769</add-association>
<status level="success"
event-id="idmdev1#20120628073402#1#2:ab744de0-eeea-42db-c0a5-e04d74abeaee"/>
<status level="error" type="driver-general"
event-id="idmdev1#20120628073402#1#2:ab744de0-eeea-42db-c0a5-e04d74abeaee_opData0">
<ldap-err ldap-rc="21" ldap-rc-name="LDAP_INVALID_SYNTAX">
<client-err ldap-rc="21" ldap-rc-name="LDAP_INVALID_SYNTAX">Invalid
Syntax</client-err>
<server-err>00000057: LdapErr: DSID-0C090A85, comment: Error in
attribute conversion operation, data 0, vece</server-err>
<server-err-ex win32-rc="87"/>
</ldap-err>
</status>
</output>


How to set the attribute?


--
ayeungied
------------------------------------------------------------------------
ayeungied's Profile: http://forums.novell.com/member.php?userid=128701
View this thread: http://forums.novell.com/showthread.php?t=457359