diff --git a/modules/ldap/lib/Auth/Process/AttributeAddUsersGroups.php b/modules/ldap/lib/Auth/Process/AttributeAddUsersGroups.php
index 3c193177d96784c30c6852c775edb83e1348cf0f..9b2e327579af35afacb03f6240c37e25de997f7c 100644
--- a/modules/ldap/lib/Auth/Process/AttributeAddUsersGroups.php
+++ b/modules/ldap/lib/Auth/Process/AttributeAddUsersGroups.php
@@ -84,7 +84,7 @@ class sspmod_ldap_Auth_Process_AttributeAddUsersGroups extends sspmod_ldap_Auth_
         // If any attributes are needed, prepare them before calling search method
         switch ($this->product) {
             case 'ACTIVEDIRECTORY':
-                $groups = $this->getGroupsActiveDirecory($attributes);
+                $groups = $this->getGroupsActiveDirecyory($attributes);
                 break;
             case 'OPENLDAP':
                 $groups = $this->getGroupsOpenLdap($attributes);