git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e26a936
)
s3-kerberos: use smb_get_enctype_from_kt_entry() in
author
Günther Deschner
<gd@samba.org>
Tue, 31 Aug 2010 20:27:32 +0000
(22:27 +0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 31 Aug 2010 21:17:39 +0000
(23:17 +0200)
get_mem_keytab_from_secrets().
Guenther
source3/librpc/rpc/dcerpc_krb5.c
patch
|
blob
|
history
diff --git
a/source3/librpc/rpc/dcerpc_krb5.c
b/source3/librpc/rpc/dcerpc_krb5.c
index bc1fcbd09eee6a66d0315834a9a3a63684af4d1c..5a8a8f733d1330fd9ea3f0c8bacf45b44b10e7e8 100644
(file)
--- a/
source3/librpc/rpc/dcerpc_krb5.c
+++ b/
source3/librpc/rpc/dcerpc_krb5.c
@@
-209,7
+209,7
@@
static krb5_error_code get_mem_keytab_from_secrets(krb5_context krbctx,
* we can verify if the keytab needs to be upgraded */
while ((ret = krb5_kt_next_entry(krbctx, *keytab,
&kt_entry, &kt_cursor)) == 0) {
- if (
kt_entry.key.enctype
== CLEARTEXT_PRIV_ENCTYPE) {
+ if (
smb_get_enctype_from_kt_entry(&kt_entry)
== CLEARTEXT_PRIV_ENCTYPE) {
break;
}
smb_krb5_kt_free_entry(krbctx, &kt_entry);