From 475bbbfa842d96b65de07eb1d5bd6982bfc41b4e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 15 Mar 2006 11:56:58 +0000 Subject: r14442: the ACB_ flags are 32 bit... metze (This used to be commit a653ebd15da09a7e085338400925a6bbeb3cb316) --- source4/dsdb/common/flag_mapping.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/dsdb') diff --git a/source4/dsdb/common/flag_mapping.c b/source4/dsdb/common/flag_mapping.c index eab0d67825..150179b841 100644 --- a/source4/dsdb/common/flag_mapping.c +++ b/source4/dsdb/common/flag_mapping.c @@ -30,7 +30,7 @@ translated the ACB_CTRL Flags to UserFlags (userAccountControl) /* mapping between ADS userAccountControl and SAMR acct_flags */ static const struct { uint32_t uf; - uint16_t acb; + uint32_t acb; } acct_flags_map[] = { { UF_ACCOUNTDISABLE, ACB_DISABLED }, { UF_HOMEDIR_REQUIRED, ACB_HOMDIRREQ }, @@ -45,7 +45,7 @@ static const struct { { UF_LOCKOUT, ACB_AUTOLOCK } }; -uint32_t samdb_acb2uf(uint16_t acb) +uint32_t samdb_acb2uf(uint32_t acb) { uint32_t i, ret = 0; for (i=0;i