Skip to content

Why Kafka-UI send two requests to OpenLDAP when login? #3954

Closed Answered by waitspring
waitspring asked this question in Q&A
Discussion options

You must be logged in to vote

@Haarolean The answer is user-filter-search-filter configure.
I guess Kafka-UI just only accept one item by user-filter-search-filter with spring ldap.
If we make the paramter value null, or just make user-filter-search-filter: "(objectClass=inetOrgPerson)", spring ldap package will get many items from LDAP, but Kafka-UI has not any except condition to deel this items so that Kafka-UI return 500 error.

I think this is a bug and means Kafka-UI's LDAP is not strong. Maybe Kafka-UI can return a warning in UI, like "Your user-filter-search-filter is not precision so that we find many users from LDAP." That's better than return 500 code.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@waitspring
Comment options

@waitspring
Comment options

@Haarolean
Comment options

@waitspring
Comment options

Answer selected by waitspring
@akameclark77
Comment options

@waitspring
Comment options

@waitspring
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants