HI All

On an IDM 2 system, with an AD connector
There is a rule

Strip unwanted characters from sAMAccountName
Which is stripping the space from the middle of the samAccountName

How do I leave spaces ? if it is explicitly striping spaces then i
would expect to see a x20 I don't.
How do I fix this ?

Regards

Mark Casey
Pegasus Technology Pty Ltd
www.pegasustech.com.au


[11/12/08 15:33:21.514]: NAT AD ST: Evaluating selection criteria
for rule 'Strip unwanted characters from sAMAccountName'.
[11/12/08 15:33:21.514]: NAT AD ST: (if-op-attr 'sAMAccountName'
available) = TRUE.
[11/12/08 15:33:21.515]: NAT AD ST: Rule selected.
[11/12/08 15:33:21.515]: NAT AD ST: Applying rule 'Strip unwanted
characters from sAMAccountName'.
[11/12/08 15:33:21.515]: NAT AD ST: Action:
do-reformat-op-attr("sAMAccountName",token-replace-all("[^a-zA-Z0-9\x21\x23-\x29\x2d\x2e\x40\x5e-\x60\x7b\x7d\x7e\xc0-\xf6\xf8-\xff\x410-\x44f]","",token-op-attr("sAMAccountName"))).
[11/12/08 15:33:21.515]: NAT AD ST:
arg-string(token-replace-all("[^a-zA-Z0-9\x21\x23-\x29\x2d\x2e\x40\x5e-\x60\x7b\x7d\x7e\xc0-\xf6\xf8-\xff\x410-\x44f]","",token-op-attr("sAMAccountName")))
[11/12/08 15:33:21.515]: NAT AD ST:
token-replace-all("[^a-zA-Z0-9\x21\x23-\x29\x2d\x2e\x40\x5e-\x60\x7b\x7d\x7e\xc0-\xf6\xf8-\xff\x410-\x44f]","",token-op-attr("sAMAccountName"))
[11/12/08 15:33:21.515]: NAT AD ST:
token-replace-all("[^a-zA-Z0-9\x21\x23-\x29\x2d\x2e\x40\x5e-\x60\x7b\x7d\x7e\xc0-\xf6\xf8-\xff\x410-\x44f]","",token-op-attr("sAMAccountName"))
[11/12/08 15:33:21.516]: NAT AD ST:
token-op-attr("sAMAccountName")
[11/12/08 15:33:21.516]: NAT AD ST: Token Value: "Bris
HR".
[11/12/08 15:33:21.516]: NAT AD ST: Arg Value: "Bris
HR".
[11/12/08 15:33:21.516]: NAT AD ST: Token Value: "BrisHR".
[11/12/08 15:33:21.516]: NAT AD ST: Arg Value: "BrisHR".