From d5eefe3c0898697c2a4029d920702d786fceafad Mon Sep 17 00:00:00 2001 From: Manoj Ampalam Date: Fri, 25 Mar 2016 13:27:03 -0700 Subject: [PATCH] removed some more unwanted code --- audit-bsm.c | 9 --------- audit.c | 9 --------- auth.c | 11 +---------- 3 files changed, 1 insertion(+), 28 deletions(-) diff --git a/audit-bsm.c b/audit-bsm.c index 6dbe35a..6e2ea28 100644 --- a/audit-bsm.c +++ b/audit-bsm.c @@ -36,15 +36,6 @@ #include "includes.h" -/* - * We support only client side kerberos on Windows. - */ - -#ifdef WIN32_FIXME - #undef GSSAPI - #undef KRB5 -#endif - #if defined(USE_BSM_AUDIT) #include diff --git a/audit.c b/audit.c index 5d302b6..ced57fa 100644 --- a/audit.c +++ b/audit.c @@ -26,15 +26,6 @@ #include "includes.h" -/* - * We support only client side kerberos on Windows. - */ - -#ifdef WIN32_FIXME - #undef GSSAPI - #undef KRB5 -#endif - #include #include diff --git a/auth.c b/auth.c index 6bf57d9..680dffc 100644 --- a/auth.c +++ b/auth.c @@ -25,15 +25,6 @@ #include "includes.h" -/* - * We support only client side kerberos on Windows. - */ - -#ifdef WIN32_FIXME - #undef GSSAPI - #undef KRB5 -#endif - #include #include @@ -179,7 +170,7 @@ allowed_user(struct passwd * pw) free(shell); return 0; } -#ifndef WIN32_FIXME +#ifndef WIN32_FIXME//R if (S_ISREG(st.st_mode) == 0 || (st.st_mode & (S_IXOTH|S_IXUSR|S_IXGRP)) == 0) { logit("User %.100s not allowed because shell %.100s "