From 5c08dca997f65f01d748bc008e448e4a31c5bf3f Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Thu, 29 Jun 2006 19:43:58 +0000 Subject: [PATCH] added iconv check --- lam/lib/modules/sambaAccount.inc | 2 +- lam/lib/modules/sambaSamAccount.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/lib/modules/sambaAccount.inc b/lam/lib/modules/sambaAccount.inc index 0424169e..8a26d221 100644 --- a/lam/lib/modules/sambaAccount.inc +++ b/lam/lib/modules/sambaAccount.inc @@ -112,7 +112,7 @@ class sambaAccount extends baseModule { 'kickoffTime', 'pwdCanChange', 'pwdMustChange', 'acctFlags', 'displayName', 'smbHome', 'homeDrive', 'scriptPath', 'profilePath', 'userWorkstations', 'primaryGroupID', 'domain'); // PHP extensions - $return['extensions'] = array('mhash'); + $return['extensions'] = array('mhash', 'iconv'); // profile options if ($this->get_scope() == 'user') { // set Unix password for Samba diff --git a/lam/lib/modules/sambaSamAccount.inc b/lam/lib/modules/sambaSamAccount.inc index 7ed900ad..9c2ef2be 100644 --- a/lam/lib/modules/sambaSamAccount.inc +++ b/lam/lib/modules/sambaSamAccount.inc @@ -132,7 +132,7 @@ class sambaSamAccount extends baseModule { 'displayName', 'sambaHomePath', 'sambaHomeDrive', 'sambaLogonScript', 'sambaProfilePath', 'sambaUserWorkstations', 'sambaPrimaryGroupSID', 'sambaDomainName', 'sambaLogonHours'); // PHP extensions - $return['extensions'] = array('mhash'); + $return['extensions'] = array('mhash', 'iconv'); // profile checks $return['profile_checks']['sambaSamAccount_smbhome'] = array( 'type' => 'ext_preg',