removed some more unwanted code

This commit is contained in:
Manoj Ampalam 2016-03-25 13:27:03 -07:00
parent 472992786d
commit d5eefe3c08
3 changed files with 1 additions and 28 deletions

View File

@ -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 <sys/types.h>

View File

@ -26,15 +26,6 @@
#include "includes.h"
/*
* We support only client side kerberos on Windows.
*/
#ifdef WIN32_FIXME
#undef GSSAPI
#undef KRB5
#endif
#include <stdarg.h>
#include <string.h>

11
auth.c
View File

@ -25,15 +25,6 @@
#include "includes.h"
/*
* We support only client side kerberos on Windows.
*/
#ifdef WIN32_FIXME
#undef GSSAPI
#undef KRB5
#endif
#include <sys/types.h>
#include <sys/stat.h>
@ -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 "