Print

Print


Looks like /etc/krb5.keytab is the culprit. This is only a problem
because it doesn't keep quiet about the fact, I don't care gssapi
authentication fails.

14144 stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644, st_size=640, ...}) = 0
14144 stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644, st_size=640, ...}) = 0
14144 stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644, st_size=640, ...}) = 0
14144 stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644, st_size=640, ...}) = 0
14144 stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644, st_size=640, ...}) = 0
14144 stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644, st_size=640, ...}) = 0
14144 stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644, st_size=640, ...}) = 0
14144 stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644, st_size=640, ...}) = 0
14144 stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644, st_size=640, ...}) = 0
14144 open("/etc/krb5.keytab", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
14144 write(5, "\0\0\0\5\25", 5)        = 5
14146 <... read resumed> "\0\0\0\5", 4) = 4
14144 write(5, "\0\r\0\0", 4 <unfinished ...>
14146 read(3,  <unfinished ...>
14144 <... write resumed> )             = 4
14146 <... read resumed> "\25\0\r\0\0", 5) = 5
14144 read(5,  <unfinished ...>
14146 write(3, "\0\0\0\1 ", 5)          = 5
14144 <... read resumed> "\0\0\0\1", 4) = 4
14146 read(3,  <unfinished ...>
14144 read(5, " ", 1)                   = 1
14144 write(5, "\0\0\0=!", 5)           = 5
14146 <... read resumed> "\0\0\0=", 4)  = 4
14144 write(5, "\0\r\0\0\0\0\0\2\0\0\0000Miscellaneous failur"..., 60 <unfinished ...>
14146 read(3,  <unfinished ...>


Maarten Litmaath, CERN ([log in to unmask]) wrote:
> On Wed, 22 Dec 2004, Peter Love wrote:
>
> > [...]
> > Server LogLevel DEBUG
> > ---------------------
> > [...]
> > Dec 22 14:19:18 fal-pygrid-19 sshd[8173]: debug1: Forked child 8404.
> > Dec 22 14:19:18 fal-pygrid-19 sshd[8404]: debug1: Client protocol version 2.0; client software version OpenSSH_3.6.1p2
> > Dec 22 14:19:18 fal-pygrid-19 sshd[8404]: debug1: match: OpenSSH_3.6.1p2 pat OpenSSH*
> > Dec 22 14:19:18 fal-pygrid-19 sshd[8404]: debug1: Enabling compatibility mode for protocol 2.0
> > Dec 22 14:19:18 fal-pygrid-19 sshd[8404]: debug1: Local version string SSH-1.99-OpenSSH_3.6.1p2
> > Dec 22 14:19:18 fal-pygrid-19 sshd[8404]: debug1: Miscellaneous failure No such file or directory
>
> Try this on the server:
>
>     strace -f -o /tmp/sshd-strace.txt -p 8173
>
> Then provoke the problem and look in the trace file to see which file
> it tried to open.