From 0aeb2a50b1fbad02fa676664ba1a1518994f1657 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 22 Mar 2006 10:22:46 +0000 Subject: r14637: Extend the ACB -> userParameters flag mapping based on the ovbious connections. Andrew Bartlett (This used to be commit 3e9e505e9e5b72dddccb548d17a5f02785d3a2e1) --- source4/dsdb/common/flag_mapping.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'source4/dsdb') diff --git a/source4/dsdb/common/flag_mapping.c b/source4/dsdb/common/flag_mapping.c index 4105ba74b1..e9c7469dd7 100644 --- a/source4/dsdb/common/flag_mapping.c +++ b/source4/dsdb/common/flag_mapping.c @@ -42,7 +42,15 @@ static const struct { { UF_WORKSTATION_TRUST_ACCOUNT, ACB_WSTRUST }, { UF_SERVER_TRUST_ACCOUNT, ACB_SVRTRUST }, { UF_DONT_EXPIRE_PASSWD, ACB_PWNOEXP }, - { UF_LOCKOUT, ACB_AUTOLOCK } + { UF_LOCKOUT, ACB_AUTOLOCK }, + { UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED, ACB_ENC_TXT_PWD_ALLOWED }, + { UF_SMARTCARD_REQUIRED, ACB_SMARTCARD_REQUIRED }, + { UF_TRUSTED_FOR_DELEGATION, ACB_TRUSTED_FOR_DELEGATION }, + { UF_NOT_DELEGATED, ACB_NOT_DELEGATED }, + { 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 } }; uint32_t samdb_acb2uf(uint32_t acb) -- cgit