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

How to get all attributes of a entry

Hi, All
I enabled memberOf overlay feature.
Now I can get memberOf back with ldapsarch.
ldapsearch -x -D "cn=admin,dc=xxx,dc=xxx" -b "dc=xxx,dc=xxx" -w xxx -H "ldap://" "cn=user2" "memberOf"
However, with above command other attributes, such as cn and sn, can't be retrieved back...
As manual said, memberOf is a opertional attribute so that you should require it explicitly..
Is there a way that I can retrieve all other attributes in addition to memberOf?