Repository navigation
LDAP: not possible to use anonymous bind #8181
|
I've set up a v3.0.2 instance in preparation for a migration from v2. After setting up LDAP identically to the v2 instance, I cannot use it to log in, getting "This provider is not fully configured. An administrator needs to finish setting it up." I tracked this message down in the source code and found this: wiki/backend/modules/authentication/ldap/authentication.ts Lines 71 to 77 in 02942fa I suspect this snippet might be the reason I see the error, because I did not fill the I suggest doing the same in the code. Two more thoughts that came up while debugging this:
|
Replies: 2 comments
|
You found the right line, and it's already fixed on the 3.x branch: 4ad07c0 landed the same day you posted, but it isn't in a release yet, the latest is still 3.0.2. It drops Until the next release you can keep your patch or run a dev image, I ran 3.0.2 and those images against OpenLDAP with anonymous search allowed, same database, blank Admin Bind DN and credentials: The slapd log shows no BIND on the search connection, only on the password check. If you were hoping for a no-patch trick on 3.0.2, I tried two: a dummy DN with an empty password gets The commit only touches the LDAP module, so your other two ideas (marking required fields in the UI, and a log hint pointing to the auth debug flag) are still open. |
Fixed in 4ad07c0. Will land in next release.