git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d1cf97
)
s3:libnet: make use of kerberos_secrets_fetch_salt_princ()
author
Stefan Metzmacher
<metze@samba.org>
Fri, 19 May 2017 15:04:36 +0000
(17:04 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 27 Jun 2017 14:57:44 +0000
(16:57 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12782
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libnet/libnet_keytab.c
patch
|
blob
|
history
diff --git
a/source3/libnet/libnet_keytab.c
b/source3/libnet/libnet_keytab.c
index 9aefac1f00f4ee39fecbfdf89944aea4edb899f9..1b5ac672710e02ad505c00e83bb29cf09d813455 100644
(file)
--- a/
source3/libnet/libnet_keytab.c
+++ b/
source3/libnet/libnet_keytab.c
@@
-241,9
+241,7
@@
static krb5_error_code libnet_keytab_add_entry(krb5_context context,
keyp = KRB5_KT_KEY(&kt_entry);
- salt_princ_s = kerberos_fetch_salt_princ_for_host_princ(context,
- princ_s,
- enctype);
+ salt_princ_s = kerberos_secrets_fetch_salt_princ();
if (salt_princ_s == NULL) {
ret = KRB5KRB_ERR_GENERIC;
goto done;