]> granicus.if.org Git - sudo/commitdiff
DCE & KERB support
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 20 Nov 1995 03:30:46 +0000 (03:30 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 20 Nov 1995 03:30:46 +0000 (03:30 +0000)
tgetpass.c

index 4965c9076a963cc1b954771f48bb7ee6a5ff79a2..200c1b384de6b3ec78cee28ad6b981c7eb9e43c8 100644 (file)
@@ -68,7 +68,11 @@ static char rcsid[] = "$Id$";
 #  ifdef HAVE_C2_SECURITY
 #    define    _PASSWD_LEN     24
 #  else
-#    define    _PASSWD_LEN     8
+#    if defined(HAVE_DCE) || defined(HAVE_KERB4) || defined(HAVE_KERB5)
+#      define  _PASSWD_LEN     256
+#    else
+#      define  _PASSWD_LEN     8
+#    endif /* HAVE_DCE || HAVE_KERB[45] */
 #  endif /* HAVE_C2_SECURITY */
 #endif /* _PASSWD_LEN */