Remove the forced 'krb5' from the NET-API-BECOME-DC test.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 9 Feb 2008 03:13:23 +0000 (14:13 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 9 Feb 2008 03:13:23 +0000 (14:13 +1100)
If we want to try this authenication mechanism, we can always manually
specify the binding string.

Andrew Bartlett

source/libnet/libnet_become_dc.c

index f2c1f70bfccfb579898e7f52dacce26e9975b968..c9185c749b4bf0181b0a58437a6f1c2f07dfcfa4 100644 (file)
@@ -1514,10 +1514,10 @@ static void becomeDC_drsuapi_connect_send(struct libnet_BecomeDC_state *s,
 
        if (!drsuapi->binding) {
                if (lp_parm_bool(s->libnet->lp_ctx, NULL, "become_dc", "print", false)) {
-                       binding_str = talloc_asprintf(s, "ncacn_ip_tcp:%s[krb5,print,seal]", s->source_dsa.dns_name);
+                       binding_str = talloc_asprintf(s, "ncacn_ip_tcp:%s[print,seal]", s->source_dsa.dns_name);
                        if (composite_nomem(binding_str, c)) return;
                } else {
-                       binding_str = talloc_asprintf(s, "ncacn_ip_tcp:%s[krb5,seal]", s->source_dsa.dns_name);
+                       binding_str = talloc_asprintf(s, "ncacn_ip_tcp:%s[seal]", s->source_dsa.dns_name);
                        if (composite_nomem(binding_str, c)) return;
                }
                c->status = dcerpc_parse_binding(s, binding_str, &drsuapi->binding);