diff --git a/modules/ldap/lib/Auth/Process/AttributeAddUsersGroups.php b/modules/ldap/lib/Auth/Process/AttributeAddUsersGroups.php
index 9b2e327579af35afacb03f6240c37e25de997f7c..c263db0e66386f1ab3bf3585d5a47331f23d5fce 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->getGroupsActiveDirecyory($attributes);
+                $groups = $this->getGroupsActiveDirectory($attributes);
                 break;
             case 'OPENLDAP':
                 $groups = $this->getGroupsOpenLdap($attributes);