mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
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
This commit is contained in:
parent
af41eb6bd4
commit
74dd365f77
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user