support hosts
This commit is contained in:
parent
2259666430
commit
acc89a1ff7
|
@ -3,7 +3,7 @@
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam)
|
This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam)
|
||||||
Copyright (C) 2009 - 2011 Pavel Pozdnyak
|
Copyright (C) 2009 - 2012 Pavel Pozdnyak
|
||||||
2009 - 2012 Roland Gruber
|
2009 - 2012 Roland Gruber
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -60,12 +60,12 @@ class asteriskAccount extends baseModule implements passwordService {
|
||||||
function get_metaData() {
|
function get_metaData() {
|
||||||
$return = array();
|
$return = array();
|
||||||
// manages users accounts
|
// manages users accounts
|
||||||
$return["account_types"] = array("user");
|
$return["account_types"] = array("user", "host");
|
||||||
$return["is_base"] = false;
|
$return["is_base"] = false;
|
||||||
// alias name
|
// alias name
|
||||||
$return["alias"] = _("Asterisk");
|
$return["alias"] = _("Asterisk");
|
||||||
// module dependencies
|
// module dependencies
|
||||||
$return['dependencies'] = array('depends' => array('inetOrgPerson'), 'conflicts' => array());
|
$return['dependencies'] = array('depends' => array(), 'conflicts' => array());
|
||||||
// managed object classes
|
// managed object classes
|
||||||
$return['objectClasses'] = array('AsteriskSIPUser');
|
$return['objectClasses'] = array('AsteriskSIPUser');
|
||||||
// managed attributes
|
// managed attributes
|
||||||
|
@ -359,8 +359,6 @@ class asteriskAccount extends baseModule implements passwordService {
|
||||||
'AstAccountRegistrationServer' => _('Registration server'),
|
'AstAccountRegistrationServer' => _('Registration server'),
|
||||||
'AstAccountLastQualifyMilliseconds' => _('Last qualify milliseconds'),
|
'AstAccountLastQualifyMilliseconds' => _('Last qualify milliseconds'),
|
||||||
);
|
);
|
||||||
// upload dependencies
|
|
||||||
$return['upload_preDepends'] = array('posixAccount', 'inetOrgPerson');
|
|
||||||
// upload fields
|
// upload fields
|
||||||
$return['upload_columns'] = array(
|
$return['upload_columns'] = array(
|
||||||
array(
|
array(
|
||||||
|
|
Loading…
Reference in New Issue