To whom it may concern:

I've followed the steps to setup GSSAPI/kerberos5 authentication for cvs
in client server mode, and get the following at runtime (any help would
be appreciated):

$ CVSROOT=:gserver:houdin.ncsa.uiuc.edu:/part8/u/ncsa/arnoldg/cvs
$ export CVSROOT
$ /opt/gnu/bin/cvs checkout testdir
client.c:4158: failed assertion `need <= sizeof buf'
Abort - core dumped
$ gdb /opt/gnu/bin/cvs
(gdb) set args checkout testdir
(gdb) break client.c:4158
Breakpoint 1 at 0x310d0: file client.c, line 4158.
(gdb) run
Breakpoint 1, connect_to_gserver (sock=3, hostinfo=0x1) at client.c:4158
4158                assert (need <= sizeof buf);
(gdb) list
4153                if (send (sock, tok_out.value, tok_out.length, 0) < 0)
4154                    error (1, 0, "cannot send: %s", SOCK_STRERROR
(SOCK_ERRNO));
4155
4156                recv_bytes (sock, cbuf, 2);
4157                need = ((cbuf[0] & 0xff) << 8) | (cbuf[1] & 0xff);
4158                assert (need <= sizeof buf);
4159                recv_bytes (sock, buf, need);
4160                tok_in.length = need;
4161            }
4162
(gdb) print need
$6 = 17238
(gdb) print sizeof buf
$7 = 1024
(gdb) 


"klist" shows this principal for cvs, so I think the kerberos side is
setup:

06/06/00 10:31:31  06/06/00 14:01:14  [EMAIL PROTECTED]

-Galen Arnold

________________________________________________________________________

Galen Arnold, system engineer                      [EMAIL PROTECTED]
National Center for Supercomputing Applications           (217) 244-3473
152 Computer Applications Bldg., 605 E. Spfld. Ave., Champaign, IL 61820
________________________________________________________________________

Reply via email to