summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-07-25 23:15:30 +0000
committerJeremy Allison <jra@samba.org>2003-07-25 23:15:30 +0000
commit4632786cfb193dd80ce04206912297186e871814 (patch)
treeb38cc3953923988443fd2ea76664677c24033366 /source3/include/includes.h
parent37d77e3d6cf85eae9f45d18b756101fc1f50460b (diff)
downloadsamba-4632786cfb193dd80ce04206912297186e871814.tar.gz
samba-4632786cfb193dd80ce04206912297186e871814.tar.bz2
samba-4632786cfb193dd80ce04206912297186e871814.zip
W00t! Client smb signing is now working correctly with krb5 and w2k server.
Server code *should* also work (I'll check shortly). May be the odd memory leak. Problem was we (a) weren't setting signing on in the client krb5 sessionsetup code (b) we need to ask for a subkey... (c). The client and server need to ask for local and remote subkeys respectively. Thanks to Paul Nelson @ Thursby for some sage advice on this :-). Jeremy. (This used to be commit 3f9e3b60709df5ab755045a093e642510d4cde00)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 77c2b437bd..d900d7feb9 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1296,7 +1296,7 @@ krb5_const_principal get_principal_from_tkt(krb5_ticket *tkt);
krb5_error_code krb5_locate_kdc(krb5_context ctx, const krb5_data *realm, struct sockaddr **addr_pp, int *naddrs, int get_masters);
krb5_error_code get_kerberos_allowed_etypes(krb5_context context, krb5_enctype **enctypes);
void free_kerberos_etypes(krb5_context context, krb5_enctype *enctypes);
-BOOL get_krb5_smb_session_key(krb5_context context, krb5_auth_context auth_context, uint8 session_key[16]);
+BOOL get_krb5_smb_session_key(krb5_context context, krb5_auth_context auth_context, uint8 session_key[16], BOOL remote);
#endif /* HAVE_KRB5 */
/* TRUE and FALSE are part of the C99 standard and gcc, but