Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 806CD104A9 for ; Fri, 2 Aug 2013 05:10:03 +0000 (UTC) Received: (qmail 57697 invoked by uid 500); 2 Aug 2013 05:10:02 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 57495 invoked by uid 500); 2 Aug 2013 05:09:54 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 57019 invoked by uid 99); 2 Aug 2013 05:09:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Aug 2013 05:09:49 +0000 Date: Fri, 2 Aug 2013 05:09:48 +0000 (UTC) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DIRSERVER-1881) How to get all user attribute (ex. telephoneNumber) from AD through LDAP API ? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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