Displaying 2 results from an estimated 2 matches for "krb_afslog".
Did you mean:
krb5_afslog
2002 Jan 23
1
Fix AFS and Kerberos interaction
...if (!options.afs_token_passing || !k_hasafs()) {
verbose("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_CONFF...
2019 Nov 08
1
Regarding an "earlier" variant of `pre-xfer exec` [feature request and proposed patch]
...However as said above, one can`t use
`pre-xfer exec` because that executes after `chdir` which fails.
For reference:
* https://docs.openafs.org/Reference/1/pagsh.html
* https://github.com/openafs/openafs/blob/master/src/sys/setpag.c
* `k_setpag` --
http://manpages.ubuntu.com/manpages/bionic/man3/krb_afslog.3.html
Other use-cases for such a feature:
* as the original poster of the thread from 2008 said, he wanted to
mount an encrypted file-system;
* one could expose a Git worktree as a `rsync` module and use the
"early" hook to make sure no one is using the repository (thus a lock
it or wa...