mirror of
https://github.com/samba-team/samba.git
synced 2025-11-06 08:23:50 +03:00
ldap: Make use of LDB_OID_COMPARATOR constants
These constants allow one to tell at a glance what search operation is being performed. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
618d95822e
commit
c17e46a231
@@ -1717,7 +1717,7 @@ static NTSTATUS pdb_samba_dsdb_enum_alias_memberships(struct pdb_methods *m,
|
||||
* either the SAM or BUILTIN
|
||||
*/
|
||||
|
||||
filter = talloc_asprintf(tmp_ctx, "(&(objectClass=group)(groupType:1.2.840.113556.1.4.803:=%u))",
|
||||
filter = talloc_asprintf(tmp_ctx, "(&(objectClass=group)(groupType:"LDB_OID_COMPARATOR_AND":=%u))",
|
||||
GROUP_TYPE_BUILTIN_LOCAL_GROUP);
|
||||
if (filter == NULL) {
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
|
||||
Reference in New Issue
Block a user