From 1e2e373082617e1b7cfa47aa90b9555527ddfaaa Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Thu, 26 Nov 2015 14:08:23 -0700 Subject: [PATCH] dtlogin: use XDM authentication instead of MIT/DES on linux --- cde/config/cf/linux.cf | 3 +++ cde/programs/dtlogin/Imakefile | 2 ++ 2 files changed, 5 insertions(+) diff --git a/cde/config/cf/linux.cf b/cde/config/cf/linux.cf index 6d22a79a..22ba1a31 100644 --- a/cde/config/cf/linux.cf +++ b/cde/config/cf/linux.cf @@ -140,6 +140,9 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion) #define DefaultCCOptions -ansi +XCOMM Lets try XdmAuth instead of the ancient MIT/DES auth +#define HasXdmAuth YES + XCOMM If you have the tirpc library on your system, and you have the XCOMM libtirpc-dev installed, then define HasTIRPCLib to YES in either XCOMM your host.def or site.def file. Using the tirpc lib should diff --git a/cde/programs/dtlogin/Imakefile b/cde/programs/dtlogin/Imakefile index b0b7911a..7a4887fb 100644 --- a/cde/programs/dtlogin/Imakefile +++ b/cde/programs/dtlogin/Imakefile @@ -240,6 +240,8 @@ INCLUDES = -I$(XPROJECTROOT)/include/freetype2 -D__NetBSD__ -DENABLE_DYNAMIC_LANGLIST #elif defined (AlphaArchitecture) DEFINES = $(DTDEFINES) -DXDMCP -DSIA +#elif defined (LinuxArchitecture) + DEFINES = $(DTDEFINES) -DXDMCP #else DEFINES = $(DTDEFINES) -D_NO_PROTO #endif -- 2.25.1