fixed Samba flags if multiple hosts were created

This commit is contained in:
Roland Gruber 2004-12-17 16:47:23 +00:00
parent 1c74e6d645
commit bc7d9a06b9
1 changed files with 3 additions and 0 deletions

View File

@ -260,6 +260,9 @@ do { // X-Or, only one if() can be true
$_SESSION['account_'.$varkey.'_account_new'] = loadHostProfile('default');
$account_new =& $_SESSION['account_'.$varkey.'_account_new'];
$account_new ->type = 'host';
$account_new->smb_flags['W'] = 1;
$account_new->general_homedir = '/dev/null';
$account_new->general_shell = '/bin/false';
break;
}
// Load Profile and reset all attributes to settings in profile