You can change Data ONTAP's schema to match your LDAP schema by changing the appropriate ldap.nssmap.* options.
For a custom LDAP schema in which the object containing GID numbers is “groupid,” you would enter the following command:
options ldap.nssmap.attribute.gidNumber groupid