From: Kurt Zeilenga Date: Thu, 10 Jan 2002 22:54:24 +0000 (+0000) Subject: Fix the bits X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~198 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c3b62aae91f93d549cb5caacaa3af82db1c57218;p=openldap Fix the bits --- diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 9e05b572ad..24111b7a69 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -809,6 +809,8 @@ LDAP_SLAPD_F (int) is_entry_objectclass LDAP_P(( is_entry_objectclass((e), slap_schema.si_oc_referral) #define is_entry_subentry(e) \ is_entry_objectclass((e), slap_schema.si_oc_subentry) +#define is_entry_dynamicObject(e) \ + is_entry_objectclass((e), slap_schema.si_oc_dynamicObject) /* diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index f3410d9254..9e82409493 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -1019,12 +1019,12 @@ struct slap_backend_db { #define SLAP_BFLAG_GLUE_INSTANCE 0x0010U /* a glue backend */ #define SLAP_BFLAG_GLUE_SUBORDINATE 0x0020U /* child of a glue hierarchy */ -#define SLAP_BFLAG_GLUE_LINKED 0x00400 /* child is connected to parent */ +#define SLAP_BFLAG_GLUE_LINKED 0x0040U /* child is connected to parent */ -#define SLAP_BFLAG_ALIASES 0x0010U -#define SLAP_BFLAG_MONITOR 0x0020U -#define SLAP_BFLAG_REFERRALS 0x0040U -#define SLAP_BFLAG_SUBENTRIES 0x0080U +#define SLAP_BFLAG_ALIASES 0x0100U +#define SLAP_BFLAG_MONITOR 0x0200U +#define SLAP_BFLAG_REFERRALS 0x0400U +#define SLAP_BFLAG_SUBENTRIES 0x0800U slap_mask_t be_flags; #define SLAP_LASTMOD(be) ((be)->be_flags & SLAP_BFLAG_LASTMOD)