diff options
author | Kevin Wasserman <kevin.wasserman@painless-security.com> | 2012-06-21 13:22:39 -0400 |
---|---|---|
committer | Ben Kaduk <kaduk@mit.edu> | 2012-08-24 15:54:50 -0400 |
commit | 88f425a7169a1f1d38b89d80a167f58e8ce475e8 (patch) | |
tree | 186dc1838bed4a465757e71b976193feac8034c5 /src/windows/include | |
parent | 648f70f51ce7d130a2ba921c33f6cc152f097440 (diff) | |
download | krb5-88f425a7169a1f1d38b89d80a167f58e8ce475e8.tar.gz krb5-88f425a7169a1f1d38b89d80a167f58e8ce475e8.tar.xz krb5-88f425a7169a1f1d38b89d80a167f58e8ce475e8.zip |
Add 'read-only principal' flag
Reserve the high-order 16 bits of dlgtype for flags.
Add DLGFLAG_READONLY_PRINC. When specified, the get tickets dialog
does not allow the user to change the principal.
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7274 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Diffstat (limited to 'src/windows/include')
-rw-r--r-- | src/windows/include/leashwin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/windows/include/leashwin.h b/src/windows/include/leashwin.h index fc210a6ab5..9577365a7e 100644 --- a/src/windows/include/leashwin.h +++ b/src/windows/include/leashwin.h @@ -16,6 +16,8 @@ #define DLGTYPE_PASSWD 0 #define DLGTYPE_CHPASSWD 1 +#define DLGTYPE_MASK 0x0000ffff +#define DLGFLAG_READONLYPRINC 0x10000 typedef struct { int dlgtype; // Tells whether dialog box is in change pwd more or init ticket mode??? |