diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /public/sdk/inc/secobjs.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'public/sdk/inc/secobjs.h')
-rw-r--r-- | public/sdk/inc/secobjs.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/public/sdk/inc/secobjs.h b/public/sdk/inc/secobjs.h new file mode 100644 index 000000000..8b2caf180 --- /dev/null +++ b/public/sdk/inc/secobjs.h @@ -0,0 +1,45 @@ +//+--------------------------------------------------------------------------- +// +// Microsoft Windows +// Copyright (C) Microsoft Corporation, 1992 - 1992. +// +// File: secobjs.h +// +// Contents: Security object-related defintions +// +// History: 27-Dec-93 MikeSe Created +// +// Notes: This file contains constant definitions used in properties +// of security objects, which cannot (yet) be defined directly +// in the TDL for the property sets. +// +// This file is never included directly. It is included from +// security.h by defining SECURITY_OBJECTS. +// +//---------------------------------------------------------------------------- + +#ifndef __SECOBJS_H__ +#define __SECOBJS_H__ + +// Authentication options. These values can be set in either of +// +// PSDomainPolicy::AuthOptions +// PSLoginParameters::AuthOptions + +#define AUTH_REQ_ALLOW_FORWARDABLE 0x40000000 +#define AUTH_REQ_ALLOW_PROXIABLE 0x10000000 +#define AUTH_REQ_ALLOW_POSTDATE 0x04000000 +#define AUTH_REQ_ALLOW_RENEWABLE 0x00800000 +#define AUTH_REQ_ALLOW_NOADDRESS 0x00100000 +#define AUTH_REQ_ALLOW_ENC_TKT_IN_SKEY 0x00000008 +#define AUTH_REQ_ALLOW_VALIDATE 0x00000001 + +// Account attributes, in PSLoginParameters::AccountAttrs + +#define ACCOUNT_DISABLED 0x00000001 +#define ACCOUNT_PASSWORD_NOT_REQUIRED 0x00000002 +#define ACCOUNT_PASSWORD_CANNOT_CHANGE 0x00000004 +#define ACCOUNT_DONT_EXPIRE_PASSWORD 0x00000008 + +#endif // of ifndef __SECOBJS_H__ + |