summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_samsync_keytab.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-16 07:54:49 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-16 07:54:49 +0200
commitec1c854f2175823bd1ad39c2e272d1b3fab80bf1 (patch)
treebb2946e678ce5f5e761f11299abca0179d65913a /source3/libnet/libnet_samsync_keytab.c
parent0016bc40918fb6de71c670b3dd93934690dcee4f (diff)
parent4dfa72423ef96b411e797eb1b5b4cb3ebd8e3d32 (diff)
downloadsamba-ec1c854f2175823bd1ad39c2e272d1b3fab80bf1.tar.gz
samba-ec1c854f2175823bd1ad39c2e272d1b3fab80bf1.tar.bz2
samba-ec1c854f2175823bd1ad39c2e272d1b3fab80bf1.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into wmi
Diffstat (limited to 'source3/libnet/libnet_samsync_keytab.c')
-rw-r--r--source3/libnet/libnet_samsync_keytab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libnet/libnet_samsync_keytab.c b/source3/libnet/libnet_samsync_keytab.c
index f284f08ad9..9e666ced32 100644
--- a/source3/libnet/libnet_samsync_keytab.c
+++ b/source3/libnet/libnet_samsync_keytab.c
@@ -93,6 +93,7 @@ static NTSTATUS fetch_sam_entry_keytab(TALLOC_CTX *mem_ctx,
ctx->dns_domain_name);
entry.password = data_blob_talloc(mem_ctx, nt_passwd, 16);
entry.kvno = ads_get_kvno(ctx->ads, entry.name);
+ entry.enctype = ENCTYPE_NULL;
NT_STATUS_HAVE_NO_MEMORY(entry.name);
NT_STATUS_HAVE_NO_MEMORY(entry.principal);