diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-29 16:22:24 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-29 09:56:27 +0200 |
commit | e39cce4214b8df14aa123d63a9ac8e1c03925f2d (patch) | |
tree | 26080e9582e3024f84d996a8ee70c318da22bbe9 | |
parent | 5d96498680ec4209142ea7dc460a3fd921413a5e (diff) | |
download | samba-e39cce4214b8df14aa123d63a9ac8e1c03925f2d.tar.gz samba-e39cce4214b8df14aa123d63a9ac8e1c03925f2d.tar.bz2 samba-e39cce4214b8df14aa123d63a9ac8e1c03925f2d.zip |
s4-libnet: Fix passing samba_all_enctypes as a fn rather than the encrypt array it returns
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Aug 29 09:56:27 CEST 2012 on sn-devel-104
-rw-r--r-- | source4/libnet/libnet_export_keytab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_export_keytab.c b/source4/libnet/libnet_export_keytab.c index 9763726e2b..16165b81c7 100644 --- a/source4/libnet/libnet_export_keytab.c +++ b/source4/libnet/libnet_export_keytab.c @@ -63,7 +63,7 @@ NTSTATUS libnet_export_keytab(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, s } if (r->in.principal) { - ret = kt_copy_one_principal(smb_krb5_context->krb5_context, from_keytab, r->in.keytab_name, r->in.principal, 0, samba_all_enctypes); + ret = kt_copy_one_principal(smb_krb5_context->krb5_context, from_keytab, r->in.keytab_name, r->in.principal, 0, samba_all_enctypes()); } else { unlink(r->in.keytab_name); ret = kt_copy(smb_krb5_context->krb5_context, from_keytab, r->in.keytab_name); |