Browse Source

dtlogin: use XDM authentication instead of MIT/DES on linux

Jon Trulson 8 years ago
parent
commit
1e2e373082
2 changed files with 5 additions and 0 deletions
  1. 3 0
      cde/config/cf/linux.cf
  2. 2 0
      cde/programs/dtlogin/Imakefile

+ 3 - 0
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

+ 2 - 0
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