read ldap config from master.cfg