summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2013-06-27 17:59:39 -0700
committerVolker Lendecke <vl@samba.org>2013-06-30 13:34:13 +0200
commit74dd365f77e709f11b29623989c58e5503e49872 (patch)
tree43d29cfb6b85ab83a1171ca6d36a3d5727a0628c
parentaf41eb6bd4889a7cd0c7a0bd1553e3534f8f06ad (diff)
downloadsamba-74dd365f77e709f11b29623989c58e5503e49872.tar.gz
samba-74dd365f77e709f11b29623989c58e5503e49872.tar.bz2
samba-74dd365f77e709f11b29623989c58e5503e49872.zip
Fix a missing parenthesis in the LDAP search request
Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Sun Jun 30 13:34:13 CEST 2013 on sn-devel-104
-rw-r--r--source4/rpc_server/drsuapi/dcesrv_drsuapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
index e71a1b1989..2ce6beb4ec 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;