Hi everyone, today i tried to connect my openldap ...
# troubleshoot
q
Hi everyone, today i tried to connect my openldap server it's a success. But i've a problem every LDAP user it's automatically dropped :
Copy code
'dropped_dns': ['cn=charlie,ou=datahubaccounts,dc=datahub,dc=com',\n"
           "                 'cn=anne,ou=datahubaccounts,dc=datahub,dc=com',\n"
           "                 'cn=antoine,ou=datahubaccounts,dc=datahub,dc=com',\n"
           "                 'cn=charlieC,ou=datahubaccounts,dc=datahub,dc=com',\n"
           "                 'cn=charlie C,ou=datahubaccounts,dc=datahub,dc=com',\n"
           "                 'cn=charlie charlie,ou=datahubaccounts,dc=datahub,dc=com',\n"
           "                 'cn=anneD,ou=datahubaccounts,dc=datahub,dc=com']}\n"
When i turned to false the
drop_missing_first_last_name
option, i've an error : find attached Can you help me ? Thank you
s
This looks like a bug. If you want to raise a PR yourself to fix this then this doc can help https://datahubproject.io/docs/metadata-ingestion/developing/ and you can ask in #contribute for any help required. Else you can raise a bug request so the team can prioritise it.
b
Are you using the LDAP connector?
@kind-dawn-17532 Is currently working on improving our LDAP connector - there are various issues. This may be another to tack on 🙂
k
I will keep take a closer look at this tomorrow. In a conference till today.
teamwork 1
yes, this is a bug. We are checking for the presence of at least one of
givenName
or
sn
but when the conditions are met, we expect both to be present. I can take care of this in my version or we could do a simple patch if this is too urgent. I guess what we want as expected behavior here is, when one of
givenName
or
sn
is not present, then we want to only populate
cn
as
fullName
in datahub and leave
firstName
and
lastName
as blank.
r
was this issue fixed in any of the recent relases. We are facing this in v0.9.6.4