You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2015/08/14 08:48:45 UTC
[jira] [Commented] (DIRAPI-243) Cannot get AttributeType from
Attribute
[ https://issues.apache.org/jira/browse/DIRAPI-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14696581#comment-14696581 ]
Emmanuel Lecharny commented on DIRAPI-243:
------------------------------------------
You have to load a schema before being able to have the AttributeType information. Sadly, for AD, this is not possible atm (see the comment on DIRAPI-244).
> Cannot get AttributeType from Attribute
> ---------------------------------------
>
> Key: DIRAPI-243
> URL: https://issues.apache.org/jira/browse/DIRAPI-243
> Project: Directory Client API
> Issue Type: Bug
> Affects Versions: 1.0.0-M31
> Reporter: Steven Nguyen
>
> Hi Team,
> I'm using LDAP client API to connect to my Active Directory. I could use lookup() method to retrieve an Entry from specified DN. However, when I loop the attributes collection and get AttributeType for each Attribute, the AttributeType object is always null.
> Could it be an issue in working with AD?
> Best Regards,
> Steven Nguyen
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)