1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/dsdb/common/dsdb_dn.h
Samuel Cabrero 913cd47875 dsdb: Define syntax access point oid string as a macro
Signed-off-by: Samuel Cabrero <samuelcabrero@kernevil.me>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-12-22 00:18:09 +01:00

17 lines
450 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"
#define DSDB_SYNTAX_ACCESS_POINT "1.3.6.1.4.1.1466.115.121.1.2"
/* RMD_FLAGS component in a DN */
#define DSDB_RMD_FLAG_DELETED 1
#define DSDB_RMD_FLAG_INVISIBLE 2