From 250f863faa462cbd9e9f71b5cf42c0da36c8477e Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 22 May 2015 14:15:59 +0200 Subject: [PATCH] Allow anonymous LDAP binding fixes #9224 --- application/forms/Config/Resource/LdapResourceForm.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/application/forms/Config/Resource/LdapResourceForm.php b/application/forms/Config/Resource/LdapResourceForm.php index fea16c4e5..6d9bf74d4 100644 --- a/application/forms/Config/Resource/LdapResourceForm.php +++ b/application/forms/Config/Resource/LdapResourceForm.php @@ -113,16 +113,17 @@ class LdapResourceForm extends Form 'text', 'bind_dn', array( - 'required' => true, 'label' => $this->translate('Bind DN'), - 'description' => $this->translate('The user dn to use for querying the ldap server') + 'description' => $this->translate( + 'The user dn to use for querying the ldap server. Leave the dn and password empty for attempting' + . ' an anonymous bind' + ) ) ); $this->addElement( 'password', 'bind_pw', array( - 'required' => true, 'renderPassword' => true, 'label' => $this->translate('Bind Password'), 'description' => $this->translate('The password to use for querying the ldap server')