[comp.windows.x] xdm r4 bugs

john@labtam.oz (John Carey) (02/13/90)

I have sent two bug reports to xbugs@expo.lcs.mit.edu reguarding r4 xdm.

Here are the brief details

XDM Bug Report 1.

SYNOPSIS:
    xdm login always fails under System V Release 3.2

DESCRIPTION:
    This is because it interprets the now unused field in /etc/passwd as
    the password field which has moved into the file /etc/shadow under
    System V Release 3.2

REPEAT BY:
    Try to login under xdm on a System VR3.2 system
    Always fails.

SAMPLE FIX:
    Code posted to mit




XDM Bug Report 2.

SYNOPSIS:
    XDM-ATHENTICATION fails as the server and xdm treat the cookie differently.

DESCRIPTION:
    The text keys (cookie) used by the server and xdm to XDM-ATHENTICATION-1 are
    treated differently.  In the sample server XdmAuthenticationInit(),
    (mit/server/os/4.2bsd/xdmauth.c 1.2) as distributed in r4 shifts
    the text string one place, and the client xdm GetKey(),
    (mit/clients/xdm/xdmauth.c 1.1) as distributed does not !!

REPEAT BY:
    Run server with -cookie key and it fails with XDM-AUTHENTICATION failure

SAMPLE FIX:
    Code posted to mit