git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r6149: Fixes bugs #2498 and 2484.
[samba.git]
/
source
/
smbd
/
sesssetup.c
diff --git
a/source/smbd/sesssetup.c
b/source/smbd/sesssetup.c
index 48524b472d2d1923339c29a8f1d59538e75e0981..60867df6535a75bd07c746e04174cff2acb90212 100644
(file)
--- a/
source/smbd/sesssetup.c
+++ b/
source/smbd/sesssetup.c
@@
-313,7
+313,9
@@
static int reply_spnego_kerberos(connection_struct *conn,
/* wrap that up in a nice GSS-API wrapping */
if (NT_STATUS_IS_OK(ret)) {
/* wrap that up in a nice GSS-API wrapping */
if (NT_STATUS_IS_OK(ret)) {
- ap_rep_wrapped = spnego_gen_krb5_wrap(ap_rep, TOK_ID_KRB_AP_REP);
+ ap_rep_wrapped = spnego_gen_krb5_wrap(
+ ap_rep,
+ CONST_ADD(const uint8 *, TOK_ID_KRB_AP_REP));
} else {
ap_rep_wrapped = data_blob(NULL, 0);
}
} else {
ap_rep_wrapped = data_blob(NULL, 0);
}