summaryrefslogtreecommitdiff
path: root/source4/cldap_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-06-12 15:20:48 +0200
committerGünther Deschner <gd@samba.org>2009-07-13 15:36:07 +0200
commit05fbe0c7f763fbe8c1c48eb82ebdfe04bfa034ea (patch)
tree78154513ca730597fd302220e49a4b79c5606274 /source4/cldap_server
parent8db45607f8d19781d33ebff0d0b13c473f34009b (diff)
downloadsamba-05fbe0c7f763fbe8c1c48eb82ebdfe04bfa034ea.tar.gz
samba-05fbe0c7f763fbe8c1c48eb82ebdfe04bfa034ea.tar.bz2
samba-05fbe0c7f763fbe8c1c48eb82ebdfe04bfa034ea.zip
libds: merge the UF<->ACB flag mapping functions.
Guenther
Diffstat (limited to 'source4/cldap_server')
-rw-r--r--source4/cldap_server/netlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c
index 8a21ea55c9..b1a46c3c31 100644
--- a/source4/cldap_server/netlogon.c
+++ b/source4/cldap_server/netlogon.c
@@ -189,7 +189,7 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
"(!(userAccountControl:" LDB_OID_COMPARATOR_AND ":=%u))"
"(userAccountControl:" LDB_OID_COMPARATOR_OR ":=%u))",
ldb_binary_encode_string(mem_ctx, user),
- UF_ACCOUNTDISABLE, samdb_acb2uf(acct_control));
+ UF_ACCOUNTDISABLE, ds_acb2uf(acct_control));
if (ret != LDB_SUCCESS) {
DEBUG(2,("Unable to find referece to user '%s' with ACB 0x%8x under %s: %s\n",
user, acct_control, ldb_dn_get_linearized(dom_res->msgs[0]->dn),