Ldap group filtering

i have installed jabber IM its cool . i have integrate it with postgres and ldap . Now i have make a group in ldap i want if nay member which is part of that group will automatically be in all users list when they login their IM cliet and if a user is not in that group he can not connect to my IM server


This is what I use in my openfire.xml configuration file, in the

I’m using Microsoft AD for my LDAP server, so the name of the field may be different with another one. Everything is on one line.