From 74dd365f77e709f11b29623989c58e5503e49872 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Thu, 27 Jun 2013 17:59:39 -0700 Subject: [PATCH] Fix a missing parenthesis in the LDAP search request Signed-off-by: Matthieu Patou Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Sun Jun 30 13:34:13 CEST 2013 on sn-devel-104 --- source4/rpc_server/drsuapi/dcesrv_drsuapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c index e71a1b19890..2ce6beb4ec8 100644 --- a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c +++ b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c @@ -632,7 +632,7 @@ static WERROR dcesrv_drsuapi_DsGetDomainControllerInfo_1(struct drsuapi_bind_sta ret = ldb_search(b_state->sam_ctx, mem_ctx, &res_account, ref_dn, LDB_SCOPE_BASE, attrs_account_1, - "(&(objectClass=computer)(userAccountControl:1.2.840.113556.1.4.803:=%u)", + "(&(objectClass=computer)(userAccountControl:1.2.840.113556.1.4.803:=%u))", UF_SERVER_TRUST_ACCOUNT); if (ret == LDB_SUCCESS && res_account->count == 1) { const char *errstr; -- 2.11.4.GIT