When you have two entries in AD with matching “cn” names, in the User/Groups -> Groups -> Edit Group -> Members of This Group section it will not show one of the accounts.
The way to duplicate this is:
Create two accounts in AD in seperate OU’s
Give both accounts the same “cn” but different user names.
Add both accounts to AD group
Go into OpenFire and search for that group.
Now only one account will appear, the other will be missing. The account that will appear will be the first one it comes across. We have tested this by making a new group and placing new accounts created as outlined above to verify the bug.
If any more info is needed let me know. Or if i can make a setting change to fix this i welcome that information as well.