no self service for hosts

This commit is contained in:
Roland Gruber 2006-08-03 18:01:34 +00:00
parent 09638ad438
commit efb7191160
1 changed files with 6 additions and 4 deletions

View File

@ -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');
// self service search attributes if ($this->get_scope() == "user") {
$return['selfServiceSearchAttributes'] = array('uid'); // self service search attributes
// self service field settings $return['selfServiceSearchAttributes'] = array('uid');
$return['selfServiceFieldSettings'] = array('password' => _('Password')); // self service field settings
$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]);