Displaying 3 results from an estimated 3 matches for "krb5_afslog".
2004 Feb 27
1
[PATCH] Getting AFS tokens from a GSSAPI-delegated TGT
...+ session_krb5_use_ccache(s->authctxt);
+ if (s->authctxt->krb5_ctx != NULL) {
+ char cell[64];
- debug("Getting AFS token");
+ debug("Getting AFS token");
- k_setpag();
+ k_setpag();
- if (k_afs_cell_of_file(pw->pw_dir, cell, sizeof(cell)) == 0)
- krb5_afslog(s->authctxt->krb5_ctx,
- s->authctxt->krb5_fwd_ccache, cell, NULL);
+ if (k_afs_cell_of_file(pw->pw_dir, cell, sizeof(cell)) == 0)
+ krb5_afslog(s->authctxt->krb5_ctx,
+ s->authctxt->krb5_fwd_ccache, cell, NULL);
- krb5_afslog_home(s->authctxt->...
2004 Jan 01
1
Syncing sshd/krb GetAFSToken change to Portable: help wanted
...427: undefined reference
to `k_hasafs?
/home/builder/gate/openssh-tinderbox/session.c:1433: undefined reference
to `k_setpag?
/home/builder/gate/openssh-tinderbox/session.c:1435: undefined reference
to `k_afs_cell_of_file?
/home/builder/gate/openssh-tinderbox/session.c:1436: undefined reference
to `krb5_afslog?
/home/builder/gate/openssh-tinderbox/session.c:1439: undefined reference
to `krb5_afslog_home?
collect2: ld returned 1 exit status
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortuna...
2002 Jan 23
1
Fix AFS and Kerberos interaction
...se("AFS token passing disabled.");
@@ -372,7 +372,7 @@
xfree(token);
}
break;
-#endif /* AFS */
+#endif /* AFS && KRB4 */
case SSH_CMSG_EXEC_SHELL:
case SSH_CMSG_EXEC_CMD:
@@ -1370,6 +1370,10 @@
krb_afslog(cell, 0);
krb_afslog(0, 0);
+#ifdef KRB5
+ krb5_afslog(s->authctxt->krb5_ctx, s->authctxt->krb5_fwd_ccache,
+ NULL, NULL);
+#endif
}
#endif /* AFS */
--- ssh.c 2002/01/23 12:28:10 1.1
+++ ssh.c 2002/01/23 12:30:58
@@ -159,9 +159,9 @@
_PATH_SSH_USER_CONFFILE);
fprintf(stderr, " -A Enable authenticati...