updated help links
This commit is contained in:
parent
9db54170a1
commit
44a5799b90
|
@ -36,6 +36,17 @@ class sambaGroupMapping extends baseModule {
|
||||||
function sambaGroupMapping($scope) {
|
function sambaGroupMapping($scope) {
|
||||||
// load error messages
|
// load error messages
|
||||||
$this->load_errorMessages();
|
$this->load_errorMessages();
|
||||||
|
$this->rids = array(
|
||||||
|
_('Domain Admins') => 512,
|
||||||
|
_('Domain Users') => 513,
|
||||||
|
_('Domain Guests') => 514,
|
||||||
|
_('Domain Computers') => 515,
|
||||||
|
_('Domain Controllers') => 516,
|
||||||
|
_('Domain Certificate Admins') => 517,
|
||||||
|
_('Domain Schema Admins') => 518,
|
||||||
|
_('Domain Enterprise Admins') => 519,
|
||||||
|
_('Domain Policy Admins') => 520);
|
||||||
|
|
||||||
// call parent constructor
|
// call parent constructor
|
||||||
parent::baseModule($scope);
|
parent::baseModule($scope);
|
||||||
}
|
}
|
||||||
|
@ -128,30 +139,44 @@ class sambaGroupMapping extends baseModule {
|
||||||
array(
|
array(
|
||||||
'name' => 'sambaGroupMapping_domain',
|
'name' => 'sambaGroupMapping_domain',
|
||||||
'description' => _('Samba 3 domain name'),
|
'description' => _('Samba 3 domain name'),
|
||||||
'help' => 'TODO',
|
'help' => 'sambaDomainName',
|
||||||
'example' => _('domain1'),
|
'example' => _('domain1'),
|
||||||
'required' => true
|
'required' => true
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'name' => 'sambaGroupMapping_name',
|
'name' => 'sambaGroupMapping_name',
|
||||||
'description' => _('Samba 3 display name'),
|
'description' => _('Samba 3 display name'),
|
||||||
'help' => 'TODO',
|
'help' => 'displayName',
|
||||||
'example' => _('Domain administrators'),
|
'example' => _('Domain administrators'),
|
||||||
'required' => false
|
'required' => false
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'name' => 'sambaGroupMapping_rid',
|
'name' => 'sambaGroupMapping_rid',
|
||||||
'description' => _('Samba 3 rid number'),
|
'description' => _('Samba 3 RID number'),
|
||||||
'help' => 'TODO',
|
'help' => 'rid',
|
||||||
'example' => 'DOMAIN_ADMINS',
|
'example' => 'DOMAIN_ADMINS',
|
||||||
'required' => false
|
'required' => false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$return['upload_preDepends'] = array('posixGroup');
|
$return['upload_preDepends'] = array('posixGroup');
|
||||||
// help Entries
|
// help Entries
|
||||||
$return['help'] = array ( 'displayName' => array ("ext" => "FALSE", "Headline" => _("Display name"), "Text" => _("Windows clients will show display name as group description.")),
|
$return['help'] = array(
|
||||||
'sambaSID' => array ("ext" => "FALSE", "Headline" => _("Windows groupname"), "Text" => _("If you want to use a well known RID you can selcet a well known group.")),
|
'displayName' => array(
|
||||||
'sambaDomainName' => array ("ext" => "FALSE", "Headline" => _("Domain"), "Text" => _("Windows-Domain of group."). ' '. _("Can be left empty.")));
|
"ext" => "FALSE",
|
||||||
|
"Headline" => _("Display name"),
|
||||||
|
"Text" => _("This is the group name which will be shown in Windows.")),
|
||||||
|
'sambaSID' => array(
|
||||||
|
"ext" => "FALSE",
|
||||||
|
"Headline" => _("Windows groupname"),
|
||||||
|
"Text" => _("If you want to use a well known RID you can selcet a well known group.")),
|
||||||
|
'rid' => array(
|
||||||
|
"ext" => "FALSE",
|
||||||
|
"Headline" => _("Samba RID number"),
|
||||||
|
"Text" => _("This is the relative ID (similar to UID on Unix) for Windows accounts. If you leave this empty LAM will calculate the RID from the UID. This can be either a number or the name of a special group:") . ' ' . implode(array_keys($this->rids))),
|
||||||
|
'sambaDomainName' => array(
|
||||||
|
"ext" => "FALSE",
|
||||||
|
"Headline" => _("Domain"),
|
||||||
|
"Text" => _("Windows-Domain name of group."). ' '. _("Can be left empty.")));
|
||||||
|
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
@ -193,15 +218,6 @@ class sambaGroupMapping extends baseModule {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Constructor
|
|
||||||
function init($base) {
|
|
||||||
// call parent init
|
|
||||||
parent::init($base);
|
|
||||||
$this->rids = array ( _('Domain Admins') => 512, _('Domain Users') => 513, _('Domain Guests') => 514, _('Domain Computers') => 515, _('Domain Controllers') => 516,
|
|
||||||
_('Domain Certificate Admins') => 517, _('Domain Schema Admins') => 518, _('Domain Enterprise Admins') => 519, _('Domain Policy Admins') => 520 );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* This function loads all attributes into the object
|
/* This function loads all attributes into the object
|
||||||
* $attr is an array as it's retured from ldap_get_attributes
|
* $attr is an array as it's retured from ldap_get_attributes
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue