Obtain 'description' user attribute by ldapsearch
Posted: Mon Aug 01, 2011 3:25 am
Hello all. I had a simple question.
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:
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.
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:
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.