AFAIK, LDAP backend doesn't support domains (doesn't store the domain reference), that's why eveything stored there needs to point to the "default"domain (you can check the "gets" methods, where everything is retrieved and a reference to the default domain is added).
AFAIK, LDAP backend doesn't support domains (doesn't store the domain reference), that's why eveything stored there needs to point to the "default"domain (you can check the "gets" methods, where everything is retrieved and a reference to the default domain is added).