s4/libnet: Vampire should join us as a Domain Controller
authorKamen Mazdrashki <kamenim@samba.org>
Tue, 27 Apr 2010 01:41:38 +0000 (04:41 +0300)
committerKamen Mazdrashki <kamenim@samba.org>
Tue, 27 Apr 2010 01:41:38 +0000 (04:41 +0300)
source4/libnet/libnet_vampire.c

index 8d2393f..aa1ea16 100644 (file)
@@ -659,7 +659,7 @@ NTSTATUS libnet_Vampire(struct libnet_context *ctx, TALLOC_CTX *mem_ctx,
        join->in.account_name   = account_name;
        join->in.netbios_name   = netbios_name;
        join->in.level          = LIBNET_JOINDOMAIN_AUTOMATIC;
-       join->in.acct_type      = ACB_WSTRUST;
+       join->in.acct_type      = ACB_SVRTRUST;
        join->in.recreate_account = false;
        status = libnet_JoinDomain(ctx, join, join);
        if (!NT_STATUS_IS_OK(status)) {