Cannot rewrite strings setup with word profile with Linux Access Gateway

  • 3320182
  • 12-Feb-2008
  • 26-Apr-2012

Environment


Novell Access Management 3 Linux Access Gateway
Novell Access Management 3 Support Pack 2 applied

Situation

AFter upgrading an iChain environment to Novell Access Manager, many of the custom rewriter strings needed to be integrated into word based rewriter profiles. When doing this, many of the strings that previously were rewritten with iChain were not being rewritten by the Linux Access Gateway (LAG). For example, we have tested rewriting the string Hello World! toHello Neil's World!. The string to replace also included an [ew] at the end but this failed to change the behaviour. Using the same string with the character based rewriter policy did work fine.

The config.xml info on the LAG showed the rewriter strings were there ...

< SearchAndReplace SearchRegEx="Hello<br/> World!</title&g<br/> t;" ReplaceString="<title>Hello Neil's World!"
UserInterface
ID="SearchAndReplace_1202377995262" />


yet the problem still occured.

Resolution

Apply the nam3sp2ir1.tar.gz patch (SP2 Interim Release 1). It's also important to note that the [ew] string should be added to the end of the string to replace. The problem was that certain characters were encoded incorrectly on the Linux Access Gateway after the configuration change was pushed down from the Admin Console. The SP1 IR1 fix decodes only the following characters.

' '
/ /
""
>>
<<