summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-17 18:25:01 +0100
committerGünther Deschner <gd@samba.org>2008-11-17 19:58:30 +0100
commita48abdaa811c76e64a3383fe970e62b7bbb3582c (patch)
tree0b4e9cdc57991f284d8839c899ede57f0144c257
parent0b1015d73edd437fdc85dd765e59cb5ae232afac (diff)
downloadsamba-a48abdaa811c76e64a3383fe970e62b7bbb3582c.tar.gz
samba-a48abdaa811c76e64a3383fe970e62b7bbb3582c.tar.bz2
samba-a48abdaa811c76e64a3383fe970e62b7bbb3582c.zip
s3-libnet-samsync: use enctype 23 for vampired keytab entries.
Guenther
-rw-r--r--source3/libnet/libnet_samsync_keytab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libnet/libnet_samsync_keytab.c b/source3/libnet/libnet_samsync_keytab.c
index 4b0cc06d94..0341641a4c 100644
--- a/source3/libnet/libnet_samsync_keytab.c
+++ b/source3/libnet/libnet_samsync_keytab.c
@@ -90,7 +90,7 @@ static NTSTATUS fetch_sam_entry_keytab(TALLOC_CTX *mem_ctx,
ctx->dns_domain_name);
entry.password = data_blob_talloc(mem_ctx, r->ntpassword.hash, 16);
entry.kvno = ads_get_kvno(ctx->ads, entry.name);
- entry.enctype = ENCTYPE_NULL;
+ entry.enctype = ENCTYPE_ARCFOUR_HMAC;
NT_STATUS_HAVE_NO_MEMORY(entry.name);
NT_STATUS_HAVE_NO_MEMORY(entry.principal);