1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/dsdb/common/dsdb_dn.h
Andrew Tridgell d4a1f6a42b s4-dsdb: added dn_format attribute of a dsdb_attribute
this is faster than string comparisons during searches at runtime

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-08-04 16:17:25 +10:00

16 lines
386 B
C

struct dsdb_dn {
struct ldb_dn *dn;
DATA_BLOB extra_part;
enum dsdb_dn_format dn_format;
const char *oid;
};
#define DSDB_SYNTAX_BINARY_DN "1.2.840.113556.1.4.903"
#define DSDB_SYNTAX_STRING_DN "1.2.840.113556.1.4.904"
#define DSDB_SYNTAX_OR_NAME "1.2.840.113556.1.4.1221"
/* RMD_FLAGS component in a DN */
#define DSDB_RMD_FLAG_DELETED 1
#define DSDB_RMD_FLAG_INVISIBLE 2