[Date Prev][Date Next] [Chronological] [Thread] [Top]

Get values of Telephone Tab ( A.D. ) using ldapsearch.



Hi,

I am trying to get the values of Telephone tab in a Active Directory Server using ldapsearch.

http://www.windows-active-directory.com/telephone-tab-in-ad-user-properties.html
I get other values like mail or telephoneNumber at the first tab but I can't get neither information of Telephone Tab .

I am using this command:

ldapsearch -x -H ldap://IP:PORT -D "cn=userldap,OU=users,DC=domain,DC=local" -w PASSWORD -b "DC=domain,DC=local" "(&(objectclass=person)(mail=user1@domain.com))" mail telephoneNumber mobile
# extended LDIF
#
# LDAPv3
# base <DC=domain,DC=local> with scope subtree
# filter: (&(objectclass=person)(mail=user1@domain.com))
# requesting: mail telephoneNumber mobile
#

# User 1, Users, domain.local
dn: CN=User 1,OU=Users,DC=domain,DC=local
 l
telephoneNumber: 1
mail: user1@domain.com

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

Is posible get this information using ldapsearch tool?. Thanks in advance .

Best Regards