summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/secobjs.h
blob: 8b2caf1805eda9f21f30318a9d717f7a8b79a168 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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__