user_ldap icon indicating copy to clipboard operation
user_ldap copied to clipboard

[QA] Error "could not find the desired feature"

Open jnweiger opened this issue 4 years ago • 1 comments

Seen in user_ldap 0.15.3-rc1 with core 10.8.0-beta1

  • Add a new ldap server configuration,
  • Set host, port, username and password
  • detect base dn, and test. A number of entries is returned. OK
  • Switch to tab User. A yellow error pops up imediately: image

Whatever I enter, nothing works. No users (and no groups) can be found. I've seen that earlier with a different ldap server, but at some point it went away and since then this other server works.

Expected behaviour: error messages should give some hints what is wrong.

jnweiger avatar Jun 30 '21 23:06 jnweiger

The combination of some or all of the following actions resolved the situation for me:

  • Shift reload the amdin page
  • visit the Expert tab,
    • enter "displayName" in "2nd User Display Name Field" and "User Search Attributes", switch "Base Group DN" to an invalid dn.
    • enter "cn" in "2nd User Display Name Field", clear the fields "User Search Attributes", re-enter the correct base DN into "Base Group DN"
    • hit "Test Configuration" -> an error "configuration ok, but cannot connect to server" appears
  • visit the Server tab
    • re-enter the password
    • hit the Continue button
  • on the User Tab, the "Verify settings and count users" now finds the users.

Possible problems circumvented by this procedure:

  • some javascript caching keeps old values
  • some internal inconsistencies were cleared
  • the Continue button is actually a "Save" button and is mandatory? (I did not use the Continue buttons before, just clicked on the Tabs....)

jnweiger avatar Jun 30 '21 23:06 jnweiger