diff options
author | Michael Adam <obnox@samba.org> | 2008-07-29 15:23:12 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-08-01 16:04:43 +0200 |
commit | e1fee8ca6deaa58dab80030826ce48725f5099e2 (patch) | |
tree | f55e678bf51bb73ad2261f910922aba46bd95c67 /source3/libnet | |
parent | ea8129b5f025050620ec6338cdaf369df69d729c (diff) | |
download | samba-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)
Diffstat (limited to 'source3/libnet')
-rw-r--r-- | source3/libnet/libnet_dssync_keytab.c | 6 |
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, |