* security.cc (allow_ntsec): Default to on.

(allow_smbntsec): Default to off.
This commit is contained in:
Christopher Faylor 2002-07-25 17:04:13 +00:00
parent be18721ec4
commit 68fb3cca64
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-07-25 Christopher Faylor <cgf@redhat.com>
* security.cc (allow_ntsec): Default to on.
(allow_smbntsec): Default to off.
2002-07-24 David MacMahon <davidm@smartsc.com> 2002-07-24 David MacMahon <davidm@smartsc.com>
* times.cc (to_time_t): Always round time_t down to nearest second. * times.cc (to_time_t): Always round time_t down to nearest second.

View File

@ -41,11 +41,11 @@ details. */
#include "lm.h" #include "lm.h"
extern BOOL allow_ntea; extern BOOL allow_ntea;
BOOL allow_ntsec; BOOL allow_ntsec = true;
/* allow_smbntsec is handled exclusively in path.cc (path_conv::check). /* allow_smbntsec is handled exclusively in path.cc (path_conv::check).
It's defined here because of it's strong relationship to allow_ntsec. It's defined here because of it's strong relationship to allow_ntsec.
The default is TRUE to reflect the old behaviour. */ The default is TRUE to reflect the old behaviour. */
BOOL allow_smbntsec = TRUE; BOOL allow_smbntsec;
extern "C" void extern "C" void
cygwin_set_impersonation_token (const HANDLE hToken) cygwin_set_impersonation_token (const HANDLE hToken)