Hi. We've setup datahub with LDAP authentication. ...
# ingestion
t
Hi. We've setup datahub with LDAP authentication. Then I launched recipe for data ingestion. According to logs it was completed successfully. I can even query these new objects using graphiql. But in UI I don't see any objects at all. Do you have any ideas why?
m
@tall-controller-60779: are you looking for users that have been ingested using LDAP?
b
Hey @tall-controller-60779 - How are you trying to view these from the UI? You should be able to search for users by name in the search bar
Is that not working?
And are you using JAAS LDAP authentication to successfully log folks in?
t
Hi, this was related to uppercase/lowercase values in user id, e.g. "ab1234" and "AB1234" users are considered different. In general it works fine.
k
Hi @big-carpet-38439 @tall-controller-60779 I’m trying to ingest the ldap users from ldap server for which I’m trying recipe as below
Copy code
source:
  type: "ldap"
  config:
    ldap_server: <server>
    ldap_user: "cn=<user_name>,dc=example,dc=org"
    ldap_password: "<password>"
    base_dn: "dc=example,dc=org"
but on running this recipe on ui i’m getting below errors
Copy code
ERROR    {datahub.ingestion.run.pipeline:127} - LDAP connection failed\n'

"AttributeError: 'Pipeline' object has no attribute 'source'\n"
           "[2022-09-22 07:19:56,128] ERROR    {datahub.entrypoints:188} - Command failed with 'Pipeline' object has no attribute 'source'
Can you suggest what can be the issue with this ?
m
There is likely an issue with the configuration of the source.
Seems like ldap connection failed?
k
yeah from the code it seems the issue with username and password binding.