You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While executing LDAP ingestion using FreeIPA, groups are being dropped because objectClass values are in lower-case.
Users work because the objectClass value "person" does not contain any capital letter.
FreeIPA user class: objectClass: posixgroup
LDAP code that processes users and groups:
if (
b"inetOrgPerson" in attrs["objectClass"]
or b"posixAccount" in attrs["objectClass"]
or b"person" in attrs["objectClass"]
):
yield from self.handle_user(dn, attrs)
elif (
b"posixGroup" in attrs["objectClass"]
or b"organizationalUnit" in attrs["objectClass"]
or b"groupOfNames" in attrs["objectClass"]
or b"group" in attrs["objectClass"]
):
yield from self.handle_group(dn, attrs)
else:
self.report.report_dropped(dn)
Describe the bug
While executing LDAP ingestion using FreeIPA, groups are being dropped because objectClass values are in lower-case.
Users work because the objectClass value "person" does not contain any capital letter.
FreeIPA user class:
objectClass: posixgroup
LDAP code that processes users and groups:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The dropped_dns should be empty and groups should be created in DataHub.
The text was updated successfully, but these errors were encountered: