Fix for bug 921301
Reading the domain from the primary