[pbs-devel] [PATCH proxmox-widget-toolkit] auth ui: ldap: fix 'Anonymous Search' being selected if bind-dn is set

Lukas Wagner l.wagner at proxmox.com
Tue Mar 28 17:10:47 CEST 2023


Only happened on Chrome, weirdly enough.

Fixed by setting a different default value. Side-effect: When creating a
new realm, the checkbox is not selected now.

Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
 src/window/AuthEditLDAP.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/window/AuthEditLDAP.js b/src/window/AuthEditLDAP.js
index 3e8ce88..849be99 100644
--- a/src/window/AuthEditLDAP.js
+++ b/src/window/AuthEditLDAP.js
@@ -6,7 +6,7 @@ Ext.define('Proxmox.panel.LDAPInputPanelViewModel', {
 
     data: {
 	mode: 'ldap',
-	anonymous_search: 1,
+	anonymous_search: 0,
     },
 
     formulas: {
-- 
2.30.2






More information about the pbs-devel mailing list