added iconv check
This commit is contained in:
parent
bfb4f24c93
commit
5c08dca997
|
@ -112,7 +112,7 @@ class sambaAccount extends baseModule {
|
||||||
'kickoffTime', 'pwdCanChange', 'pwdMustChange', 'acctFlags', 'displayName', 'smbHome', 'homeDrive',
|
'kickoffTime', 'pwdCanChange', 'pwdMustChange', 'acctFlags', 'displayName', 'smbHome', 'homeDrive',
|
||||||
'scriptPath', 'profilePath', 'userWorkstations', 'primaryGroupID', 'domain');
|
'scriptPath', 'profilePath', 'userWorkstations', 'primaryGroupID', 'domain');
|
||||||
// PHP extensions
|
// PHP extensions
|
||||||
$return['extensions'] = array('mhash');
|
$return['extensions'] = array('mhash', 'iconv');
|
||||||
// profile options
|
// profile options
|
||||||
if ($this->get_scope() == 'user') {
|
if ($this->get_scope() == 'user') {
|
||||||
// set Unix password for Samba
|
// set Unix password for Samba
|
||||||
|
|
|
@ -132,7 +132,7 @@ class sambaSamAccount extends baseModule {
|
||||||
'displayName', 'sambaHomePath', 'sambaHomeDrive', 'sambaLogonScript', 'sambaProfilePath',
|
'displayName', 'sambaHomePath', 'sambaHomeDrive', 'sambaLogonScript', 'sambaProfilePath',
|
||||||
'sambaUserWorkstations', 'sambaPrimaryGroupSID', 'sambaDomainName', 'sambaLogonHours');
|
'sambaUserWorkstations', 'sambaPrimaryGroupSID', 'sambaDomainName', 'sambaLogonHours');
|
||||||
// PHP extensions
|
// PHP extensions
|
||||||
$return['extensions'] = array('mhash');
|
$return['extensions'] = array('mhash', 'iconv');
|
||||||
// profile checks
|
// profile checks
|
||||||
$return['profile_checks']['sambaSamAccount_smbhome'] = array(
|
$return['profile_checks']['sambaSamAccount_smbhome'] = array(
|
||||||
'type' => 'ext_preg',
|
'type' => 'ext_preg',
|
||||||
|
|
Loading…
Reference in New Issue