directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Hou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRAPI-177) Attribute.getBytes() can't get value when the Attribute is "objectSid" or "objectGUID"
Date Tue, 11 Mar 2014 09:42:42 GMT

    [ https://issues.apache.org/jira/browse/DIRAPI-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13930124#comment-13930124
] 

Robert Hou commented on DIRAPI-177:
-----------------------------------

Great! The way you said can work.
Thank you very much!

> Attribute.getBytes() can't get value when the Attribute is "objectSid" or "objectGUID"
> --------------------------------------------------------------------------------------
>
>                 Key: DIRAPI-177
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-177
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M20
>            Reporter: Robert Hou
>
> "objectSid" and "objectGUID" two attributes are defined by MS AD, as far as i know, the
value of them are binary data. When we use  Attribute.getBytes() to get value of them after
Search operation, the exception LdapInvalidAttributeValueException will be thrown, but Attribute.get().getBytes()
can success. However,the value of Attribute.get().getBytes() still seems not a correct data,
after it was convert to string with specific arithmetic, it is different with correct value.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message