diff options
author | Günther Deschner <gd@samba.org> | 2009-06-12 15:20:48 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-07-13 15:36:07 +0200 |
commit | 05fbe0c7f763fbe8c1c48eb82ebdfe04bfa034ea (patch) | |
tree | 78154513ca730597fd302220e49a4b79c5606274 /source4/dsdb/common/util.c | |
parent | 8db45607f8d19781d33ebff0d0b13c473f34009b (diff) | |
download | samba-05fbe0c7f763fbe8c1c48eb82ebdfe04bfa034ea.tar.gz samba-05fbe0c7f763fbe8c1c48eb82ebdfe04bfa034ea.tar.bz2 samba-05fbe0c7f763fbe8c1c48eb82ebdfe04bfa034ea.zip |
libds: merge the UF<->ACB flag mapping functions.
Guenther
Diffstat (limited to 'source4/dsdb/common/util.c')
-rw-r--r-- | source4/dsdb/common/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c index 30669ebd5a..247aec7035 100644 --- a/source4/dsdb/common/util.c +++ b/source4/dsdb/common/util.c @@ -640,7 +640,7 @@ uint32_t samdb_result_acct_flags(struct ldb_context *sam_ctx, TALLOC_CTX *mem_ct struct ldb_message *msg, struct ldb_dn *domain_dn) { uint32_t userAccountControl = ldb_msg_find_attr_as_uint(msg, "userAccountControl", 0); - uint32_t acct_flags = samdb_uf2acb(userAccountControl); + uint32_t acct_flags = ds_uf2acb(userAccountControl); NTTIME must_change_time; NTTIME now; @@ -902,7 +902,7 @@ int samdb_msg_add_hashes(TALLOC_CTX *mem_ctx, struct ldb_message *msg, int samdb_msg_add_acct_flags(struct ldb_context *sam_ldb, TALLOC_CTX *mem_ctx, struct ldb_message *msg, const char *attr_name, uint32_t v) { - return samdb_msg_add_uint(sam_ldb, mem_ctx, msg, attr_name, samdb_acb2uf(v)); + return samdb_msg_add_uint(sam_ldb, mem_ctx, msg, attr_name, ds_acb2uf(v)); } /* |