]> granicus.if.org Git - sudo/commitdiff
first stab at dce support
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 20 Nov 1995 03:30:30 +0000 (03:30 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 20 Nov 1995 03:30:30 +0000 (03:30 +0000)
check.c

diff --git a/check.c b/check.c
index 86f1f32cdfcfa81663f28353e69f8225c5eb4859..8ccd27d0dbf1eb70c1aa36ff9200c91abbb860dc 100644 (file)
--- a/check.c
+++ b/check.c
@@ -615,6 +615,11 @@ static void check_passwd()
        if (code == 0)
            return;
 #endif /* HAVE_AFS */
+#ifdef HAVE_DCE
+       /* XXX - this seems wrong... */
+       if (dce_pwent(user, pass))
+           return;
+#endif /* HAVE_DCE */
 
        --counter;              /* otherwise, try again  */
 #ifdef USE_INSULTS