summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-01-15 15:38:47 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-01-15 15:38:47 (GMT)
commit63185b572d1c9ce0f641dda0b3f2dc69c34297b3 (patch)
tree2388803a2317314d63d99adb0490e95289d53f53 /www
parentfd8463433a1aa6483b746337382d543f8d85b6a9 (diff)
downloadkolab-webadmin-63185b572d1c9ce0f641dda0b3f2dc69c34297b3.tar.gz
MFB: kolab/issue4025 (Users can not change theire password (in 2.2.3))
Diffstat (limited to 'www')
-rw-r--r--www/admin/user/user.php.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/admin/user/user.php.in b/www/admin/user/user.php.in
index 5b29eaa..81d50d1 100644
--- a/www/admin/user/user.php.in
+++ b/www/admin/user/user.php.in
@@ -521,7 +521,9 @@ if( $auth->group() == 'admin' || $auth->group() == 'maintainer' || $auth->group(
$entries['givenname']['comment'] = '';
$entries['sn']['comment'] = '';
$entries['alias']['attrs'] = 'readonly';
+ $entries['kolabdelegate']['attrs'] = 'readonly';
$entries['kolabhomeserver']['attrs'] = 'readonly';
+ $entries['kolabAllowSMTPRecipient']['attrs'] = 'readonly';
$entries['accttype']['attrs'] = 'readonly';
$entries['uid']['attrs'] = 'readonly';
}
@@ -717,6 +719,8 @@ switch( $action ) {
unset($ldap_object['mail']);
unset($ldap_object['uid']);
unset($ldap_object['kolabHomeServer']);
+ unset($ldap_object['kolabAllowSMTPRecipient']);
+ unset($ldap_object['kolabDelegate']);
}
if (!ldap_modify($ldap->connection, $dn, $ldap_object)) {
array_push($errors, sprintf(_("LDAP Error: Could not modify object %s: %s"), $dn,