Results 1 to 4 of 4

Thread: Obtain 'description' user attribute by ldapsearch

  1. #1
    finth is offline Member
    Join Date
    Aug 2010
    Posts
    11
    Rep Power
    5

    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.

  2. #2
    finth is offline Member
    Join Date
    Aug 2010
    Posts
    11
    Rep Power
    5

    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.

  3. #3
    jorgemop's Avatar
    jorgemop is offline Intermediate Member
    Join Date
    Dec 2013
    Location
    Venezuela
    Posts
    17
    Rep Power
    1

    Default

    what its the password uid=zimbra?
    Thanks in advance

    Jorge
    Team
    Innovare Technology

  4. #4
    jorgemop's Avatar
    jorgemop is offline Intermediate Member
    Join Date
    Dec 2013
    Location
    Venezuela
    Posts
    17
    Rep Power
    1

    Default

    here is:

    zmlocalconfig -s zimbra_ldap_password ldap_master_url
    Thanks in advance

    Jorge
    Team
    Innovare Technology

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. [SOLVED] Can't receive messages from Gmail
    By agfeller in forum Administrators
    Replies: 4
    Last Post: 02-04-2008, 11:16 AM
  3. Postfix problem
    By jimbo in forum Administrators
    Replies: 46
    Last Post: 07-23-2007, 05:24 AM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  5. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •