Openfire and AD Problem

Hi:

I recently installed Openfire and I tried to map all users from AD to openfire. Everything is good except the user groups. All my users are in managed by organizational unit but not group. When openfire retrieves users data, the Groups is empty for all users.

How can I map the ou name to Groups but not the group name?

Thank you