summaryrefslogtreecommitdiff
path: root/libds
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-28 23:18:47 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-29 09:49:16 -0700
commit9a58cd12b4fd1956a1472072b294309b55de01fa (patch)
tree0920603d080ee05c0438c867fcd151abace2bc08 /libds
parent77d959fb157ee72f14d278c25ac33e4d84010222 (diff)
downloadsamba-9a58cd12b4fd1956a1472072b294309b55de01fa.tar.gz
libds: added more UF_ -> ACB_ flags mappings
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'libds')
-rw-r--r--libds/common/flag_mapping.c5
-rw-r--r--libds/common/flags.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/libds/common/flag_mapping.c b/libds/common/flag_mapping.c
index cf63327776c..99421ed533f 100644
--- a/libds/common/flag_mapping.c
+++ b/libds/common/flag_mapping.c
@@ -50,7 +50,10 @@ static const struct {
{ UF_USE_DES_KEY_ONLY, ACB_USE_DES_KEY_ONLY},
{ UF_DONT_REQUIRE_PREAUTH, ACB_DONT_REQUIRE_PREAUTH },
{ UF_PASSWORD_EXPIRED, ACB_PW_EXPIRED },
- { UF_NO_AUTH_DATA_REQUIRED, ACB_NO_AUTH_DATA_REQD }
+ { UF_NO_AUTH_DATA_REQUIRED, ACB_NO_AUTH_DATA_REQD },
+ { UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION, ACB_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION },
+ { UF_PARTIAL_SECRETS_ACCOUNT, ACB_PARTIAL_SECRETS_ACCOUNT },
+ { UF_USE_AES_KEYS, ACB_USE_AES_KEYS }
};
uint32_t ds_acb2uf(uint32_t acb)
diff --git a/libds/common/flags.h b/libds/common/flags.h
index 0fc159ae2b1..44a50149f8b 100644
--- a/libds/common/flags.h
+++ b/libds/common/flags.h
@@ -48,10 +48,10 @@
#define UF_USE_DES_KEY_ONLY 0x00200000
#define UF_DONT_REQUIRE_PREAUTH 0x00400000
#define UF_PASSWORD_EXPIRED 0x00800000
-
#define UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION 0x01000000
#define UF_NO_AUTH_DATA_REQUIRED 0x02000000
#define UF_PARTIAL_SECRETS_ACCOUNT 0x04000000
+#define UF_USE_AES_KEYS 0x08000000
#define UF_MACHINE_ACCOUNT_MASK (\
UF_INTERDOMAIN_TRUST_ACCOUNT |\