mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
r14637: Extend the ACB -> userParameters flag mapping based on the ovbious connections.
Andrew Bartlett
(This used to be commit 3e9e505e9e
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
2295953069
commit
0aeb2a50b1
@ -42,7 +42,15 @@ static const struct {
|
|||||||
{ UF_WORKSTATION_TRUST_ACCOUNT, ACB_WSTRUST },
|
{ UF_WORKSTATION_TRUST_ACCOUNT, ACB_WSTRUST },
|
||||||
{ UF_SERVER_TRUST_ACCOUNT, ACB_SVRTRUST },
|
{ UF_SERVER_TRUST_ACCOUNT, ACB_SVRTRUST },
|
||||||
{ UF_DONT_EXPIRE_PASSWD, ACB_PWNOEXP },
|
{ 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)
|
uint32_t samdb_acb2uf(uint32_t acb)
|
||||||
|
Reference in New Issue
Block a user