mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
1816c84b29
This allows us to search against binary DN using only the attributeID in the case of msDS-RevealedUsers (as it appears right at the beginning). Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
44 lines
1.3 KiB
C
44 lines
1.3 KiB
C
/*
|
|
Unix SMB/CIFS implementation.
|
|
|
|
Helpers to search for links in the DB
|
|
|
|
Copyright (C) Catalyst.Net Ltd 2017
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __DSDB_COMMON_UTIL_LINKS_H__
|
|
#define __DSDB_COMMON_UTIL_LINKS_H__
|
|
|
|
struct compare_ctx {
|
|
const struct GUID *guid;
|
|
struct ldb_context *ldb;
|
|
TALLOC_CTX *mem_ctx;
|
|
const char *ldap_oid;
|
|
int err;
|
|
const struct GUID *invocation_id;
|
|
DATA_BLOB extra_part;
|
|
size_t partial_extra_part_length;
|
|
bool compare_extra_part;
|
|
};
|
|
|
|
struct parsed_dn {
|
|
struct dsdb_dn *dsdb_dn;
|
|
struct GUID guid;
|
|
struct ldb_val *v;
|
|
};
|
|
|
|
#endif /* __DSDB_COMMON_UTIL_LINKS_H__ */
|