plugins/kolab_auth
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Mon Aug 5 12:18:45 CEST 2013
plugins/kolab_auth/kolab_auth.php | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
New commits:
commit a6ee501a6849f36afadced49301016462eb8d8af
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Mon Aug 5 11:18:29 2013 +0100
There's no need to get the user record
diff --git a/plugins/kolab_auth/kolab_auth.php b/plugins/kolab_auth/kolab_auth.php
index 2b869f7..0d260bb 100644
--- a/plugins/kolab_auth/kolab_auth.php
+++ b/plugins/kolab_auth/kolab_auth.php
@@ -87,7 +87,7 @@ class kolab_auth extends rcube_plugin
// Array(
// '<role_dn>' => Array('plugin1', 'plugin2'),
// );
- //
+ //
// NOTE that <role_dn> may in fact be something like: 'cn=role,%dc'
$role_plugins = $rcmail->config->get('kolab_auth_role_plugins');
@@ -114,14 +114,6 @@ class kolab_auth extends rcube_plugin
return $args;
}
- // Find user record in LDAP
- $record = $ldap->get_user_record($user, $host);
-
- if (empty($record)) {
- $args['abort'] = true;
- return $args;
- }
-
foreach ($role_plugins as $role_dn => $plugins) {
$role_plugins[$ldap->parse_vars($role_dn)] => $plugins;
}
More information about the commits
mailing list