Change catalog-backend-module-ldap to use entityRefs for relationship building

Signed-off-by: Eric Fitzpatrick <efitz1000@yahoo.com>
This commit is contained in:
Eric Fitzpatrick
2022-04-09 17:56:05 -04:00
parent b37bca4e4e
commit 0df74b3823
@@ -246,8 +246,6 @@ export async function readLdapGroups(
groups.push(entity);
});
console.log(groupMember);
return {
groups,
groupMemberOf,
@@ -311,7 +309,6 @@ function mapReferencesAttr(
if (attributeName) {
const values = vendor.decodeStringAttribute(entry, attributeName);
const dn = vendor.decodeStringAttribute(entry, vendor.dnAttributeName);
console.log(attributeName, values, dn);
if (values && dn && dn.length === 1) {
setter(dn[0], values);
}