We do have key attributes on all the servers. It is just that they go by different names. In the LDAP server it is 'uid.' In AD, it is 'employeeID." The values are exactly the same in both data bases. For example, Bob Smith has accounts in both LDAP and AD. In LDAP his uid is BS0250. In AD, it is his employeeID that is BS0250. The values are the same and identify these accounts as Bob's.
I'm not a db admin so please feel free to correct me if I'm wrong, but I'm pretty sure the attribute names don't matter in relating databases. The names can be mapped to each other as long as the values match. Indeed, Gluu has this on the Cache Refresh main tab under "Source attribute to destination attribute mapping," but for only one back end database.
If you are implying that to utilize two back end databases in Gluu, both data bases must be EXACTLY the same--with the same attribute names used in both--then could you please give me a use case where this would be useful because I can't think of any, except where one db is just a back-up of the other.