LDAP Group baseDN

I config LDAP by knowing it has one baseDN.

Users in my organization of baseDN is ou=corporate,dc=example,dc=com

So I see the the total of Users and Groups summary on Users/Groups menu are the same.

Therefore, the group name is not shown correctly because it is not filter the group’s name.

(My LDAP’s fieldname that keep group’s name of each user is ou=Group Name)

And the cn of user is user’s name.

Another fieldname, gidNumber is group’s id.

I have another baseDN is ou=groups,dc=example,dc=com,

which keep cn of group is group’s name.

Another fieldname,

gidNumber is group’s id,

member consists of each user is uid=user’s id,ou=corporate,dc=example,dc=com

memberUid consists of each user is uid.

My issue is I cannot filter the correct group’s name.

Due to the result of group’s name is user’s name, not group’s name.

How is the solution of this issue?

Thank you.