no self service for hosts
This commit is contained in:
parent
09638ad438
commit
efb7191160
|
@ -140,10 +140,12 @@ class posixAccount extends baseModule {
|
||||||
'userPassword', 'loginShell', 'gecos', 'description');
|
'userPassword', 'loginShell', 'gecos', 'description');
|
||||||
// PHP extensions
|
// PHP extensions
|
||||||
$return['extensions'] = array('mhash');
|
$return['extensions'] = array('mhash');
|
||||||
|
if ($this->get_scope() == "user") {
|
||||||
// self service search attributes
|
// self service search attributes
|
||||||
$return['selfServiceSearchAttributes'] = array('uid');
|
$return['selfServiceSearchAttributes'] = array('uid');
|
||||||
// self service field settings
|
// self service field settings
|
||||||
$return['selfServiceFieldSettings'] = array('password' => _('Password'));
|
$return['selfServiceFieldSettings'] = array('password' => _('Password'));
|
||||||
|
}
|
||||||
// profile checks
|
// profile checks
|
||||||
$return['profile_checks']['posixAccount_homeDirectory'] = array('type' => 'ext_preg', 'regex' => 'homeDirectory',
|
$return['profile_checks']['posixAccount_homeDirectory'] = array('type' => 'ext_preg', 'regex' => 'homeDirectory',
|
||||||
'error_message' => $this->messages['homeDirectory'][0]);
|
'error_message' => $this->messages['homeDirectory'][0]);
|
||||||
|
|
Loading…
Reference in New Issue