hi sorry for the delay
iv looked into this and as far as i can tell you should be able to use these files to login share without it being on the same database as kayako reads the xml file so all you should need to do is edit the ldap.php file and add xml cross site access and it should work.
This has not been tested but adding this
HTML:
<cross-domain-policy>
<allow-access-from domain="www.mysite.com" />
<allow-access-from domain="mysite.com" />
</cross-domain-policy>
after this
HTML:
<?xml version="1.0" encoding="UTF-8"?>
if anyone tries this and it works i will add it into the next release and have new options for ( allow-access-from domain= )