add ldap details to config file
tidy up ldap module