We have other code to test simple binds.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
goto out;
}
- if (ads->auth.flags & ADS_AUTH_SIMPLE_BIND) {
- status = ADS_ERROR(ldap_simple_bind_s(ads->ldap.ld, ads->auth.user_name, ads->auth.password));
- goto out;
- }
-
status = ads_sasl_bind(ads);
out:
ADS_AUTH_DISABLE_KERBEROS = 0x0001,
ADS_AUTH_NO_BIND = 0x0002,
ADS_AUTH_ANON_BIND = 0x0004,
- ADS_AUTH_SIMPLE_BIND = 0x0008,
ADS_AUTH_ALLOW_NTLMSSP = 0x0010,
ADS_AUTH_SASL_SIGN = 0x0020,
ADS_AUTH_SASL_SEAL = 0x0040,