mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
Add domain config to LDAP user group backends if the backend is not linked w/ a LDAP user backend
refs #2153
This commit is contained in:
parent
9ac8253290
commit
9599f6672f
@ -294,6 +294,16 @@ class LdapUserGroupBackendForm extends Form
|
|||||||
'value' => $defaults->user_base_dn
|
'value' => $defaults->user_base_dn
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
$this->addElement(
|
||||||
|
'text',
|
||||||
|
'domain',
|
||||||
|
array(
|
||||||
|
'label' => $this->translate('Domain'),
|
||||||
|
'description' => $this->translate(
|
||||||
|
'The domain the LDAP server is responsible for.'
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -307,6 +317,7 @@ class LdapUserGroupBackendForm extends Form
|
|||||||
$this->addElement('hidden', 'user_filter', array('disabled' => true));
|
$this->addElement('hidden', 'user_filter', array('disabled' => true));
|
||||||
$this->addElement('hidden', 'user_name_attribute', array('disabled' => true));
|
$this->addElement('hidden', 'user_name_attribute', array('disabled' => true));
|
||||||
$this->addElement('hidden', 'user_base_dn', array('disabled' => true));
|
$this->addElement('hidden', 'user_base_dn', array('disabled' => true));
|
||||||
|
$this->addElement('hidden', 'domain', array('disabled' => true));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user