directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Ayyagari (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 13:05:43 GMT

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

Kiran Ayyagari commented on DIRAPI-177:
---------------------------------------

Good idea, added these and some more attributes (taken from http://www.turbo-it.com/Help/SMOD/Admin/Active_Directory_Attribute_Reference.htm)
here http://svn.apache.org/r1576324.

> 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
>            Assignee: Kiran Ayyagari
>
> "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