- Made preauthentication independent of ldap server.
- Made sure to use the correct username and RealName. The username for
ldap queries the RealName to be displayed.
- Don't try to login if there is no preauth user available