Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-01-2011, 01:25 AM
Junior Member
 
Posts: 8
Default Obtain 'description' user attribute by ldapsearch

Hello all. I had a simple question.

Code:
zmprov createAccount someaccount@mydomain.com ... description "Some description"
Now i want to get this description through ldapsearch utility, but nothing happens when i ask this attribute:

Code:
ldapsearch -x -v -H 'ldap://zimbra.mydomain.com/' -b 'ou=people,dc=mydomain,dc=com'  -D 'uid=admin,ou=people,dc=mydomain,dc=com' -W -v '(mail='someaccount@mydomain.com')' mail sn description givenName
It returns only mail, sn, givenName but nothing about description. What i'm doing wrong, tell me please. Thanks to all.
Reply With Quote
  #2 (permalink)  
Old 08-01-2011, 10:27 PM
Junior Member
 
Posts: 8
Default

The problem solved. I must use zimbra system account to bind instead of admin account. Like this:

Code:
ldapsearch -x -v -H 'ldap://zimbra.mydomain.com/' -b ou=people,dc=mydomain,dc=com'  -D 'uid=zimbra,cn=admins,cn=zimbra' -W -v '(mail='someaccount@mydomain.com')' mail sn description givenName
And description is here now.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.