Negative interaction with Kerberos
Bug #1669033 reported by
Adam Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Project Moonshot |
Confirmed
|
Low
|
Stefan Paetow |
Bug Description
0. Moonshot enable client
1. Enroll client in kerberos realm A (DEV.JA.NET)
2. kdestroy
3. Obtain ticket for kerberos realm B (VIRT.JA.NET)
4. Attempt to connect to server in kerberos realm A
5. OpenSSH client encounters a problem runs its exception handler and exits
This is very much an edge case, and I can provide a system running CentOS that replicates this problem.
I'm don't think this is a moonshot problem per se, but it would be useful to identify the root cause, and potentially supply a patch upstream.
EDIT: Should have noted this doesn't seem to occur when the moonshot mechanism is absent.
description: | updated |
Changed in moonshot: | |
importance: | Medium → Low |
status: | New → Confirmed |
assignee: | nobody → Stefan Paetow (stefan-paetow) |
To post a comment you must log in.
#0 0x00007ffff5b66f38 in _exit (status=255) unix/sysv/ linux/_ exit.c: 33 51578
overflow_ arg_area = 0x7fffffffc4f0,
reg_ save_area = 0x7fffffffc430}} db40) at kexgssc.c:142
dh_server_ pub = 0x7ffff8257500
shared_ secret = 0x0
serverhostkey = 0x0 db40) at kex.c:320 0x7ffff824db40) at kex.c:290 dba8, 0x7ffff824db40) at dispatch.c:98 rp.dev. ja.net" 0x7ffff82033a0, 0x7ffff82033c0, rp.dev. ja.net" DEV/adamb/ .ssh\000config\ 000\000\ 000\000\ 000\300\ 320\377\ 377\377\ 177\000\ 000\037\ 310\345\ 365\377\ 177\000\ 000\310\ 064\370\ 367\377\ 177\000\ 000\000\ 000 \2...
at ../sysdeps/
resultvar = 184467440737095
#1 0x00007ffff7fa2f5c in cleanup_exit (i=255) at clientloop.c:2183
No locals.
#2 0x00007ffff7fc1e1f in fatal (fmt=<value optimized out>) at fatal.c:44
args = {{gp_offset = 8, fp_offset = 48,
#3 0x00007ffff7fdc036 in kexgss_client (kex=0x7ffff824
send_tok = {length = 0, value = 0x0}
recv_tok = {length = 186, value = 0x7ffff825a3b0}
gssbuf = {length = 140737356520720, value = 0x1}
msg_tok = {length = 140737356553360, value = 0x7ffff8258890}
token_ptr = 0x7fffffffc600
ctxt = 0x7ffff8257210
maj_status = 851968
min_status = <value optimized out>
ret_flags = 0
klen = <value optimized out>
kout = <value optimized out>
slen = 0
hashlen = <value optimized out>
strlen = 186
dh = 0x7ffff8258770
p = <value optimized out>
g = <value optimized out>
kbuf = <value optimized out>
hash = <value optimized out>
empty = 0x7ffff7ff1e72 ""
msg = <value optimized out>
type = 31
first = 0
nbits = 0
__func__ = "kexgss_client"
#4 0x00007ffff7fd1bd8 in kex_kexinit_finish (type=<value optimized out>,
seq=<value optimized out>, ctxt=0x7ffff824
No locals.
#5 kex_input_kexinit (type=<value optimized out>, seq=<value optimized out>,
ctxt=
ptr = <value optimized out>
i = <value optimized out>
dlen = 1308
kex = 0x7ffff824db40
#6 0x00007ffff7fd0c83 in dispatch_run (mode=0, done=0x7ffff824
ctxt=
type = <value optimized out>
seqnr = 0
#7 0x00007ffff7fadf58 in ssh_kex2 (host=<value optimized out>,
hostaddr=<value optimized out>) at sshconnect2.c:230
kex = 0x7ffff824db40
orig = <value optimized out>
gss = <value optimized out>
gss_host = 0x7ffff822a290 "ms-ssh-
#8 0x00007ffff7fa96eb in ssh_login (sensitive=
orighost=<value optimized out>, hostaddr=
pw=<value optimized out>, timeout_ms=-1000) at sshconnect.c:1137
host = 0x7ffff822a290 "ms-ssh-
cp = <value optimized out>
server_user = 0x7ffff82251f0 "adamb"
local_user = 0x7ffff8225260 "adamb"
#9 0x00007ffff7f9f7de in main (ac=<value optimized out>,
av=<value optimized out>) at ssh.c:904
i = <value optimized out>
r = <value optimized out>
opt = <value optimized out>
exit_status = <value optimized out>
use_syslog = -131968416
p = <value optimized out>
cp = <value optimized out>
line = <value optimized out>
argv0 = <value optimized out>
buf = "/home/