Actually, I succeded by changing the authentication filter:
(&(sAMAccountName={uid})(objectclass=user)(memberOf=cn=myRole,OU=ou_groups,DC=myCompany,DC=com))
It works, but I would still like to know if this is the right way to do it, or it should have been done by the use of role mappings instead.
Thanks/Stig