diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-03-22 10:22:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:59:03 -0500 |
commit | 0aeb2a50b1fbad02fa676664ba1a1518994f1657 (patch) | |
tree | 8f9c9bb592acec6a8b690ad7d2b38f4077b785e0 /source4 | |
parent | 2295953069ba60c69cf230ac73b26c6c841837f4 (diff) | |
download | samba-0aeb2a50b1fbad02fa676664ba1a1518994f1657.tar.gz samba-0aeb2a50b1fbad02fa676664ba1a1518994f1657.tar.bz2 samba-0aeb2a50b1fbad02fa676664ba1a1518994f1657.zip |
r14637: Extend the ACB -> userParameters flag mapping based on the ovbious connections.
Andrew Bartlett
(This used to be commit 3e9e505e9e5b72dddccb548d17a5f02785d3a2e1)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/common/flag_mapping.c | 10 |
1 files changed, 9 insertions, 1 deletions
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) |