First code example in auth_ldap documentation page shows %{user} in groupfilter - shouldn't it be %{uid} as in following examples?

2005-08-24doychi

I had a similar problem. It appears that auth_getUserData() is called twice. The first time by auth_checkPass and the second by auth_logon (auth_login?). All the groups are returned correctly on the first call, but on the second no groups are retuned. This means that the user only has the default group assigned to them.

My simple solution was to store the $info variable in a global variable and then test if this variable has already been set. I don't believe this is the best solution, but I do know that it works for me (for now).