Forum Discussion
Jeff_Green_4244
Nov 07, 2011Nimbostratus
Create Domino LTPA token on F5 problem
Hi,
I'm trying to use the code at
http://per.lausten.dk/blog/2009/06/how-to-create-a-ltpa-session-cookie-for-lotus-domino-using-f5.html
to create a Domino LTPA token but...
Kurt_Knochner_5
Nov 09, 2011Cirrus
Hi,
I'm able to reproduce what you've seen.
set text "\x00\x01\x02\x03Hello World"
set text_enc [b64encode $text]
set text_dec [b64decode $text_enc]
binary scan $text H* text_hex
binary scan $text_enc H* text_enc_hex
binary scan $text_dec H* text_dec_hex
log local0. "Text: $text_hex"
log local0. "Text encoded: $text_enc_hex"
log local0. "Text decoded: $text_dec_hex"
The result:
Nov 9 03:13:54 local/tmm info tmm[5158]: Rule rule01 : Text: 0001020348656c6c6f20576f726c64
Nov 9 03:13:54 local/tmm info tmm[5158]: Rule rule01 : Text encoded: 7749414241674e495a5778736279425862334a735a413d3d
Nov 9 03:13:54 local/tmm info tmm[5158]: Rule rule01 : Text decoded: c08001020348656c6c6f20576f726c64
So, yes there is a c080 in front of the text and it only happens if the initial string starts with \x00.
This looks like a bug. Maybe something with internal string handling. Please open a case with my example and ask support what's going wrong. It would be nice if you could update this thread as soon as you get a reply from support.
Thanks!
Regards
Kurt Knochner
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects