Good Afternoon Everyone,
I am having a challenged getting my streetAddress to translate
correctly. We receive the record in eDirectory with the address having
a possible three lines Primary address, Suite address, Etc. All of
these lines has a LF at the end of the line. Well in the past month we
have upgraded our envirnment to 4.0.1 from a very old version, also the
eDirectory server used to be a windows box has been upgaded to a linux
box.

Now with that all said our addess is not translating correctly when we
look at it in Active Directory Users and Computers, the LF does not get
translated to to CRLF. It worked before, as far as I know. I am not
sure if the move of putting edirectory on a linux server is having a
impact because it translates differently. I have included a trace to
help see what we are doing now.

Thanks in advance for the help.

[07/15/11 12:59:23.956]riverAD ST: Evaluating selection criteria
for rule 'Street Address: Convert CR to CR-LF'.
[07/15/11 12:59:23.956]riverAD ST: (if-op-attr 'streetAddress'
available) = TRUE.
[07/15/11 12:59:23.956]riverAD ST: Rule selected.
[07/15/11 12:59:23.956]riverAD ST: Applying rule 'Street Address:
Convert CR to CR-LF'.
[07/15/11 12:59:23.956]riverAD ST: Action:
do-set-local-variable("CRLF",scope="policy",token-char(value="13")+token-char(value="10")).
[07/15/11 12:59:23.957]riverAD ST:
arg-string(token-char(value="13")+token-char(value="10"))
[07/15/11 12:59:23.957]riverAD ST: token-char(value="13")
[07/15/11 12:59:23.957]riverAD ST: Token Value: "
".
[07/15/11 12:59:23.957]riverAD ST: token-char(value="10")
[07/15/11 12:59:23.957]riverAD ST: Token Value: "
".
[07/15/11 12:59:23.957]riverAD ST: Arg Value: "
".
[07/15/11 12:59:23.957]riverAD ST: Action:
do-reformat-op-attr("streetAddress",token-replace-all("[\n]","$CRLF$",token-local-variable("current-value"))).
[07/15/11 12:59:23.957]riverAD ST:
arg-string(token-replace-all("[\n]","$CRLF$",token-local-variable("current-value")))
[07/15/11 12:59:23.958]riverAD ST:
token-replace-all("[\n]","$CRLF$",token-local-variable("current-value"))
[07/15/11 12:59:23.958]riverAD ST: Expanded variable
reference '$CRLF$' to '
'.
[07/15/11 12:59:23.958]riverAD ST:
token-replace-all("[\n]","$CRLF$",token-local-variable("current-value"))
[07/15/11 12:59:23.958]riverAD ST:
token-local-variable("current-value")
[07/15/11 12:59:23.958]riverAD ST: Token Value: "17066
Goldentop Road
340-2C Building 2

".
[07/15/11 12:59:23.958]riverAD ST: Arg Value: "17066
Goldentop Road
340-2C Building 2

".
[07/15/11 12:59:23.959]riverAD ST: Token Value: "17066
Goldentop Road
340-2C Building 2

".
[07/15/11 12:59:23.959]riverAD ST: Arg Value: "17066
Goldentop Road
340-2C Building 2

".
[07/15/11 12:59:23.959]riverAD ST: Action:
do-set-local-variable("streetAddr",scope="policy",token-op-attr("streetAddress")).
[07/15/11 12:59:23.959]riverAD ST:
arg-string(token-op-attr("streetAddress"))
[07/15/11 12:59:23.959]riverAD ST:
token-op-attr("streetAddress")
[07/15/11 12:59:23.959]riverAD ST: Token Value: "17066
Goldentop Road
340-2C Building 2

".
[07/15/11 12:59:23.960]riverAD ST: Arg Value: "17066
Goldentop Road
340-2C Building 2

".
[07/15/11 12:59:23.960]riverAD ST: Action:
do-strip-op-attr("streetAddress").
[07/15/11 12:59:23.960]riverAD ST: Action:
do-set-dest-attr-value("streetAddress",token-local-variable("streetAddr")).
[07/15/11 12:59:23.960]riverAD ST:
arg-string(token-local-variable("streetAddr"))
[07/15/11 12:59:23.960]riverAD ST:
token-local-variable("streetAddr")
[07/15/11 12:59:23.960]riverAD ST: Token Value: "17066
Goldentop Road
340-2C Building 2

".
[07/15/11 12:59:23.960]riverAD ST: Arg Value: "17066
Goldentop Road
340-2C Building 2

".


--
Driver_Girl
------------------------------------------------------------------------
Driver_Girl's Profile: http://forums.novell.com/member.php?userid=30126
View this thread: http://forums.novell.com/showthread.php?t=441963