Allow anonymous LDAP binding

fixes #9224
This commit is contained in:
Eric Lippmann 2015-05-22 14:15:59 +02:00
parent 83a6e85b5d
commit 250f863faa

View File

@ -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')