In Teiid, for LDAP datasource a JCA connector is provided and deployed at the install time. To create
ldap datasource connection edit the "standalone-teiid.xml" file or "doamin-teiid.xml" file and add 
the contents of the ldap.xml under "resource-adapters" subsystem section.