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 2013/08/02 07:09:48 UTC
[jira] [Commented] (DIRSERVER-1881) How to get all user attribute
(ex. telephoneNumber) from AD through LDAP API ?
[ https://issues.apache.org/jira/browse/DIRSERVER-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727336#comment-13727336 ]
Emmanuel Lecharny commented on DIRSERVER-1881:
----------------------------------------------
Can you show us what you get ?
Also can you show us what you are expecting to get from this specific entry ?
> How to get all user attribute (ex. telephoneNumber) from AD through LDAP API ?
> -------------------------------------------------------------------------------
>
> Key: DIRSERVER-1881
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1881
> Project: Directory ApacheDS
> Issue Type: New Feature
> Components: ldap
> Environment: Window Server 2008
> Reporter: Nguyen Manh Ha
> Priority: Minor
>
> EntryCursor cursor = connection.search("CN=Users,dc=demo, dc=com", "(name=sonnt38)", SearchScope.ONELEVEL,"*");
> while (cursor.next()) {
> Entry entry = cursor.get();
> System.out.println(entry.getAttributes());
> }
> But I don't get all attributes (ex. telephoneNumber)
> So, How to get all attributes ?
> I need your help.
> Thanks you!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira