Bugzilla – Attachment 1279 Details for
Bug 1312
Add short command-line option -K for activating GSSAPIDelegateCredentials
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch adding option -K to enable GSSAPI auth. and cred. forwarding
gssapi-option.patch (text/plain), 1.60 KB, created by
Markus Kuhn
on 2007-05-12 23:00:49 AEST
(
hide
)
Description:
Patch adding option -K to enable GSSAPI auth. and cred. forwarding
Filename:
MIME Type:
Creator:
Markus Kuhn
Created:
2007-05-12 23:00:49 AEST
Size:
1.60 KB
patch
obsolete
>--- openssh-4.6p1/ssh.1 2007-01-05 05:25:46.000000000 +0000 >+++ openssh-K/ssh.1 2007-05-12 13:49:15.000000000 +0100 >@@ -315,6 +315,9 @@ > .Fl i > options (and multiple identities specified in > configuration files). >+.It Fl K >+Enables GSSAPI-based authentication and forwarding (delegation) of GSSAPI credentials to the server. >+This can also be specified on a per-host basis in a configuration file. > .It Fl k > Disables forwarding (delegation) of GSSAPI credentials to the server. > .It Fl L Xo >diff -u openssh-4.6p1/ssh.c openssh-K/ssh.c >--- openssh-4.6p1/ssh.c 2007-01-05 05:30:17.000000000 +0000 >+++ openssh-K/ssh.c 2007-05-12 13:42:22.000000000 +0100 >@@ -185,7 +185,7 @@ > usage(void) > { > fprintf(stderr, >-"usage: ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]\n" >+"usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]\n" > " [-D [bind_address:]port] [-e escape_char] [-F configfile]\n" > " [-i identity_file] [-L [bind_address:]port:host:hostport]\n" > " [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]\n" >@@ -272,7 +272,7 @@ > > again: > while ((opt = getopt(ac, av, >- "1246ab:c:e:fgi:kl:m:no:p:qstvxACD:F:I:L:MNO:PR:S:TVw:XY")) != -1) { >+ "1246ab:c:e:fgi:kl:m:no:p:qstvxACD:F:I:KL:MNO:PR:S:TVw:XY")) != -1) { > switch (opt) { > case '1': > options.protocol = SSH_PROTO_1; >@@ -326,6 +326,10 @@ > case 'k': > options.gss_deleg_creds = 0; > break; >+ case 'K': >+ options.gss_authentication = 1; >+ options.gss_deleg_creds = 1; >+ break; > case 'i': > if (stat(optarg, &st) < 0) { > fprintf(stderr, "Warning: Identity file %s "
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1312
: 1279