Hi all!
I'm currently having the following problem:
I try to read the "GUID" attribute from a Novell eDirectory server via
the "LDAP Input" Step in PDI.
However, I seem to be unable to access/cast this attribute to its
proper value.
I tried the following approaches:
a) "Calculator" step: Using the "Byte to Hex" calculation
b) "Select values" step: Chaning the meta-data
c) "Modified JavaScript Value" Step: Using the Apache-Commons Codec
Library to convert the attribute (see:
http://wiki.pentaho.com/display/EAI/Migrating+JavaScript+fro...)
I also tried to switch the data-type in the LDAP Input step from
"Binary" to "String" and vice versa...
didn't change anything.
After these tries I've had a look at src\org\pentaho\di\trans\steps
\ldapinput\LDAPInput.java and to me it seems, that the attributes,
read from LDAP are always cast to String before doing the specified
conversion (see lines 76 and 170)
Could this be?
Anyone got some ideas/ hints on this topic?
In "Preview" Mode I always see values like '[B@104bce3' which is the
String-representation of the
byte-array I assume.
Cheers, Tom
--
You received this message because you are subscribed to the Google Groups "kettle-developers" group.
To post to this group, send email to
kettle-d...@googlegroups.com.
To unsubscribe from this group, send email to
kettle-develop...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/kettle-developers?hl=en.