added used attributes
This commit is contained in:
parent
abeb9bc3da
commit
3282a234bb
|
@ -59,7 +59,7 @@ class ddns extends baseModule {
|
|||
// managed object classes
|
||||
$return['objectClasses'] = array();
|
||||
// managed attributes
|
||||
$return['attributes'] = array();
|
||||
$return['attributes'] = array('dhcpOption', 'dhcpStatements');
|
||||
// help Entries
|
||||
$return['help'] = array(
|
||||
'active' => array(
|
||||
|
|
|
@ -122,7 +122,7 @@ class dhcp_settings extends baseModule {
|
|||
// managed object classes
|
||||
$return['objectClasses'] = array('top', 'dhcpOptions');
|
||||
// managed attributes
|
||||
$return['attributes'] = array('cn');
|
||||
$return['attributes'] = array('cn', 'dhcpOption');
|
||||
// help Entries
|
||||
$return['help'] = array(
|
||||
'domainname' => array(
|
||||
|
@ -252,7 +252,9 @@ By default, the nodes are configured as H-Nodes which fits for small networks. I
|
|||
public function save_attributes() {
|
||||
if ($_SESSION['account']->getAccountModule('dhcp_settings')->dn!=$_SESSION['config']->get_suffix('dhcp')) {
|
||||
// Standard Things
|
||||
$this->attributes['objectClass'][2] = "dhcpSubnet";
|
||||
if (!in_array_ignore_case("dhcpSubnet", $this->attributes['objectClass'])) {
|
||||
$this->attributes['objectClass'][] = "dhcpSubnet";
|
||||
}
|
||||
// sort to array:
|
||||
if (is_array($this->attributes['dhcpOption'])) {
|
||||
$i = 0;
|
||||
|
|
|
@ -70,7 +70,7 @@ class fixed_ip extends baseModule {
|
|||
// managed object classes
|
||||
$return['objectClasses'] = array();
|
||||
// managed attributes
|
||||
$return['attributes'] = array();
|
||||
$return['attributes'] = array('dhcpOption');
|
||||
// help Entries
|
||||
$return['help'] = array(
|
||||
'pc' => array(
|
||||
|
|
|
@ -71,7 +71,7 @@ class range extends baseModule {
|
|||
// managed object classes
|
||||
$return['objectClasses'] = array();
|
||||
// managed attributes
|
||||
$return['attributes'] = array();
|
||||
$return['attributes'] = array('dhcpOption');
|
||||
// help Entries
|
||||
$return['help'] = array(
|
||||
'range_from' => array(
|
||||
|
|
Loading…
Reference in New Issue