Hi,

I am running OpenLDAP server on Ubuntu 18.

The memberOf attribute is not showing in ldap simple search, if I do the following then memberOf attribute is hidden.

ldapsearch -Y external -H ldapi:/// -b dc=example,dc=com

# udraz, Users, example.com
dn: uid=udraz,ou=Users,dc=example,dc=com 
objectClass: top 
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
uid: udraz 
sn: Draz
givenName: Umar 
mail: udraz@example.com 
cn: Umar Draz 
displayName: Umar Draz 
uidNumber: 5000
gidNumber: 5000
gecos: Umar Draz 
loginShell: /bin/bash
homeDirectory: /home/udraz

But if I do the following then memberOf attribute appear

ldapsearch -Y external -H ldapi:/// -b dc=example,dc=com memberOf

# udraz, Users, example.com 
dn: uid=udraz,ou=Users,dc=example,dc=com 
memberOf: cn=developers,ou=Users,dc=example,dc=com

Would you please help me how to solve this