Thread:Extension talk:LDAP Authentication/$wgLDAPGroupDN vs wgLDAPRequiredGroups

I seem to get the  function to work that is deprecated, but not   with the same group ldap string. What is the differences between these two functions?