fixed linking to openldap server