Make LDAP authentication work with posix