summaryrefslogtreecommitdiff
path: root/source4/dsdb/common/dsdb_dn.h
blob: 53e10535c84500d7d347e08e7c98a28240dc443d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
enum dsdb_dn_format {
	DSDB_NORMAL_DN,
	DSDB_BINARY_DN,
	DSDB_STRING_DN,
	DSDB_INVALID_DN
};

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"