Adding ldap options, ostensibly to bring AD support..