projects
/
mod_auth_gssapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set KRB5CCNAME on follow up requests with session
[mod_auth_gssapi.git]
/
src
/
sessions.c
diff --git
a/src/sessions.c
b/src/sessions.c
index
e8c79cd
..
f90857c
100644
(file)
--- a/
src/sessions.c
+++ b/
src/sessions.c
@@
-153,6
+153,10
@@
void mag_check_session(request_rec *req,
return;
}
return;
}
+ /* booleans */
+ if (gsessdata->established != 0) mc->established = true;
+ if (gsessdata->delegated != 0) mc->delegated = true;
+
/* get time */
expiration = gsessdata->expiration;
if (expiration < time(NULL)) {
/* get time */
expiration = gsessdata->expiration;
if (expiration < time(NULL)) {
@@
-211,6
+215,8
@@
void mag_attempt_session(request_rec *req,
}
}
}
}
+ gsessdata.established = mc->established?1:0;
+ gsessdata.delegated = mc->delegated?1:0;
gsessdata.expiration = mc->expiration;
if (OCTET_STRING_fromString(&gsessdata.username, mc->user_name) != 0)
goto done;
gsessdata.expiration = mc->expiration;
if (OCTET_STRING_fromString(&gsessdata.username, mc->user_name) != 0)
goto done;