HOW use 2 windows domains?

Hi All!

i am have 2 windows domains (mamba.local & temir.mamba.local)

how i am can use one openfire server to connect users from this 2 domains ?