add config options for LDAP module

add config options for LDAP module
add LDAP module stub
add LDAP connection functions
add LDAP API
add LDAP functions
Merge remote-tracking branch 'origin/ldap' into ci