Connecting openfire servers in same domain

I have two openfire servers in same domain using same ldap. Is there any option to do server to server connection so that user on server A can chat with user on server B