Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP wizard issue #10270

Closed
GitHubUser4234 opened this issue Jul 17, 2018 · 6 comments
Closed

LDAP wizard issue #10270

GitHubUser4234 opened this issue Jul 17, 2018 · 6 comments

Comments

@GitHubUser4234
Copy link
Contributor

Hi,

With the latest master, an issue occurs in the LDAP wizard (see step 4):

  1. Main server and backup server are reachable => "Configuration OK" is shown, clicking "Verify settings and count users" shows user count as expected
  2. Main server becomes unreachable (to reproduce, set invalid port & refresh the page in the browser) => "Configuration OK" is shown, clicking "Verify settings and count users" shows user count as expected
  3. Main server becomes reachable again (to reproduce, set correct port & refresh the page in the browser) => "Configuration OK" is shown, clicking "Verify settings and count users" shows user count as expected
  4. Backup server becomes unreachable (to reproduce, set invalid port & refresh the page in the browser) => "Configuration incorrect" is shown, "The Base DN appears to be wrong" error is shown, clicking "Verify settings and count users" doesn't show user count

The issue seems to only impact the LDAP wizard. To reproduce it, please follow ALL these steps in the outlined order, thanks!

@nextcloud-bot

This comment has been minimized.

@MorrisJobke MorrisJobke added this to the Nextcloud 14 milestone Jul 17, 2018
@MorrisJobke
Copy link
Member

@juliushaertl Mind to have a look at this as well?

@juliushaertl
Copy link
Member

@GitHubUser4234 Thanks for your report. Unfortunately I'm unable to reproduce the issue on current master. Are you sure that when you tested this every change of the port has been saved (by removing the focus from the input field)?

Can you still reproduce this and if you reload after check 4 do both server settings have the correct port number set?

@MorrisJobke
Copy link
Member

As there is no feedback since a while I will close this ticket. If this is still happening please feel free to reopen.

@MorrisJobke
Copy link
Member

@blizzz You also did quite some changes to the Wizard, right? And also there was the plan to improve the wizard heavily soon because it had some issues like the state of the wizard in the past. Is there a ticket with those plans?

@blizzz
Copy link
Member

blizzz commented Aug 24, 2018

@MorrisJobke i have some changes in the wizard, but nothing fundamentally. We've had some fixes with failed server handling, but they went in before @GitHubUser4234 opened this issue. A wizard fix is pending, but unrelated.

What could interfere is caching, if @GitHubUser4234 used for instance redis, as clearing is not necessarily reliable iirc. main server could have been cached as unreachable while it got back online and having the backup server down would cause those results. Although the messages presented would be misleading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants