fixed two problems
This commit is contained in:
parent
e53a3874cb
commit
37da9db821
|
@ -252,41 +252,25 @@ class posixGroup extends baseModule {
|
|||
)
|
||||
);
|
||||
// configuration checks
|
||||
$return['config_checks']['group']['posixGroup_minGID'] = array
|
||||
|
||||
'type' => 'regex'
|
||||
|
||||
'regex' => 'digit'
|
||||
|
||||
'required' => true
|
||||
|
||||
'required_message' => $this->errormessages['gidNumber'][5]
|
||||
|
||||
'error_message' => $this->errormessages['gidNumber'][5])
|
||||
|
||||
$return['config_checks']['group']['posixGroup_maxGID'] = array
|
||||
|
||||
'type' => 'regex'
|
||||
|
||||
'regex' => 'digit'
|
||||
|
||||
'required' => true
|
||||
|
||||
'required_message' => $this->errormessages['gidNumber'][6]
|
||||
|
||||
'error_message' => $this->errormessages['gidNumber'][6])
|
||||
|
||||
$return['config_checks']['group']['cmpGID'] = array
|
||||
|
||||
'type' => 'int_greater'
|
||||
|
||||
'cmp_name1' => 'posixGroup_maxGID'
|
||||
|
||||
'cmp_name2' => 'posixGroup_minGID'
|
||||
|
||||
'error_message' => $this->errormessages['gidNumber'][7])
|
||||
$return['config_checks']['group']['posixGroup_minGID'] = array (
|
||||
'type' => 'regex',
|
||||
'regex' => 'digit',
|
||||
'required' => true,
|
||||
'required_message' => $this->errormessages['gidNumber'][5],
|
||||
'error_message' => $this->errormessages['gidNumber'][5]);
|
||||
|
||||
$return['config_checks']['group']['posixGroup_maxGID'] = array (
|
||||
'type' => 'regex',
|
||||
'regex' => 'digit',
|
||||
'required' => true,
|
||||
'required_message' => $this->errormessages['gidNumber'][6],
|
||||
'error_message' => $this->errormessages['gidNumber'][6]);
|
||||
|
||||
$return['config_checks']['group']['cmpGID'] = array (
|
||||
'type' => 'int_greater',
|
||||
'cmp_name1' => 'posixGroup_maxGID',
|
||||
'cmp_name2' => 'posixGroup_minGID',
|
||||
'error_message' => $this->errormessages['gidNumber'][7]);
|
||||
|
||||
// available PDF fields
|
||||
$return['PDF_fields'] = array( 'cn',
|
||||
|
|
|
@ -35,7 +35,6 @@ class sambaGroupMapping extends baseModule {
|
|||
*/
|
||||
function sambaGroupMapping($scope) {
|
||||
// load error messages
|
||||
$this->load_errorMessages();
|
||||
$this->rids = array(
|
||||
_('Domain Admins') => 512,
|
||||
_('Domain Users') => 513,
|
||||
|
|
Loading…
Reference in New Issue