MultiUserChat rooms in LDAP?

Is there a way to bring all the groups in LDAP into multiuser chat rooms that allows only the people in that group to join?

If it’'s already out there, can someone point me to the right direction?