summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-29 15:23:12 +0200
committerMichael Adam <obnox@samba.org>2008-08-01 16:04:43 +0200
commite1fee8ca6deaa58dab80030826ce48725f5099e2 (patch)
treef55e678bf51bb73ad2261f910922aba46bd95c67
parentea8129b5f025050620ec6338cdaf369df69d729c (diff)
downloadsamba-e1fee8ca6deaa58dab80030826ce48725f5099e2.tar.gz
samba-e1fee8ca6deaa58dab80030826ce48725f5099e2.tar.bz2
samba-e1fee8ca6deaa58dab80030826ce48725f5099e2.zip
dssync keytab: store the UpToDate vector with ENCTYPE_NULL.
Michael (This used to be commit 9fbc3d49035123ec11cc2248f0b14661dd1e9b2d)
-rw-r--r--source3/libnet/libnet_dssync_keytab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libnet/libnet_dssync_keytab.c b/source3/libnet/libnet_dssync_keytab.c
index 4875e8e5fa..03d5bf2348 100644
--- a/source3/libnet/libnet_dssync_keytab.c
+++ b/source3/libnet/libnet_dssync_keytab.c
@@ -73,7 +73,7 @@ static NTSTATUS keytab_startup(struct dssync_context *ctx, TALLOC_CTX *mem_ctx,
ctx->nc_dn, ctx->dns_domain_name);
NT_STATUS_HAVE_NO_MEMORY(principal);
- entry = libnet_keytab_search(keytab_ctx, principal, 0, ENCTYPE_ARCFOUR_HMAC,
+ entry = libnet_keytab_search(keytab_ctx, principal, 0, ENCTYPE_NULL,
mem_ctx);
if (entry) {
enum ndr_err_code ndr_err;
@@ -131,7 +131,7 @@ static NTSTATUS keytab_finish(struct dssync_context *ctx, TALLOC_CTX *mem_ctx,
status = add_to_keytab_entries(mem_ctx, keytab_ctx, 0,
ctx->nc_dn, "UTDV",
- ENCTYPE_ARCFOUR_HMAC,
+ ENCTYPE_NULL,
blob);
if (!NT_STATUS_IS_OK(status)) {
goto done;
@@ -145,7 +145,7 @@ static NTSTATUS keytab_finish(struct dssync_context *ctx, TALLOC_CTX *mem_ctx,
}
ret = libnet_keytab_remove_entries(keytab_ctx, principal,
- 0, ENCTYPE_ARCFOUR_HMAC);
+ 0, ENCTYPE_NULL);
if (ret) {
status = krb5_to_nt_status(ret);
ctx->error_message = talloc_asprintf(mem_ctx,