mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Overlay build environment, remove internal proxycache support
This commit is contained in:
parent
64e337eacf
commit
1762b5b71d
@ -14,7 +14,7 @@
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
PROGRAMS=slapd
|
||||
XPROGRAMS=sslapd libbackends.a .backend
|
||||
XPROGRAMS=sslapd libbackends.a .backend liboverlays.a
|
||||
XSRCS=version.c
|
||||
|
||||
NT_SRCS = nt_svc.c
|
||||
@ -52,7 +52,7 @@ LDAP_INCDIR= ../../include -I$(srcdir)/slapi
|
||||
LDAP_LIBDIR= ../../libraries
|
||||
|
||||
SLAP_DIR=
|
||||
SLAPD_STATIC_DEPENDS=@SLAPD_NO_STATIC@ libbackends.a
|
||||
SLAPD_STATIC_DEPENDS=@SLAPD_NO_STATIC@ libbackends.a liboverlays.a
|
||||
SLAPD_STATIC_BACKENDS=@SLAPD_STATIC_BACKENDS@
|
||||
SLAPD_DYNAMIC_BACKENDS=@SLAPD_DYNAMIC_BACKENDS@
|
||||
|
||||
@ -297,6 +297,9 @@ libbackends.a: .backend
|
||||
fi
|
||||
@ls -l libbackends.a; echo ""
|
||||
|
||||
liboverlays.a: FORCE
|
||||
@cd overlays; $(MAKE) $(MFLAGS) all
|
||||
|
||||
version.c: Makefile
|
||||
@-$(RM) $@
|
||||
$(MKVERSION) -s -n Versionstr slapd > $@
|
||||
|
@ -598,20 +598,15 @@ slap_entry2mods(
|
||||
AttributeDescription *a_new_desc;
|
||||
int i, count;
|
||||
|
||||
*text = textbuf;
|
||||
|
||||
a_new = e->e_attrs;
|
||||
|
||||
while ( a_new != NULL ) {
|
||||
a_new_desc = a_new->a_desc;
|
||||
mod = (Modifications *) malloc( sizeof( Modifications ));
|
||||
|
||||
if ( a_new_desc != slap_schema.si_ad_queryid )
|
||||
mod->sml_op = LDAP_MOD_REPLACE;
|
||||
else
|
||||
mod->sml_op = LDAP_MOD_ADD;
|
||||
mod->sml_op = LDAP_MOD_REPLACE;
|
||||
|
||||
ber_dupbv( &mod->sml_type, &a_new_desc->ad_cname );
|
||||
mod->sml_type = a_new_desc->ad_cname;
|
||||
|
||||
for ( count = 0; a_new->a_vals[count].bv_val; count++ );
|
||||
|
||||
|
@ -487,6 +487,10 @@ int main( int argc, char **argv )
|
||||
}
|
||||
#endif /* LDAP_SLAPI */
|
||||
|
||||
if ( overlay_init() ) {
|
||||
goto destroy;
|
||||
}
|
||||
|
||||
if ( read_config( configfile, 0 ) != 0 ) {
|
||||
rc = 1;
|
||||
SERVICE_EXIT( ERROR_SERVICE_SPECIFIC_ERROR, 19 );
|
||||
|
@ -416,17 +416,6 @@ static struct slap_schema_ad_map {
|
||||
NULL, NULL, NULL, NULL, NULL,
|
||||
offsetof(struct slap_internal_schema, si_ad_superiorUUID) },
|
||||
|
||||
/* LDAP cache specific operational attribute */
|
||||
{ "queryid", "( 1.3.6.1.4.1.4203.666.1.12 NAME 'queryid' "
|
||||
"DESC 'list of queries the entry belongs to' "
|
||||
"EQUALITY octetStringMatch "
|
||||
"SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{64} "
|
||||
"NO-USER-MODIFICATION USAGE directoryOperation )",
|
||||
NULL, SLAP_AT_HIDE,
|
||||
NULL, NULL,
|
||||
NULL, NULL, NULL, NULL, NULL,
|
||||
offsetof(struct slap_internal_schema, si_ad_queryid) },
|
||||
|
||||
{ "syncreplCookie", "( 1.3.6.1.4.1.4203.666.1.23 "
|
||||
"NAME 'syncreplCookie' "
|
||||
"DESC 'syncrepl Cookie for shadow copy' "
|
||||
|
@ -764,9 +764,6 @@ struct slap_internal_schema {
|
||||
AttributeDescription *si_ad_namingCSN;
|
||||
AttributeDescription *si_ad_superiorUUID;
|
||||
|
||||
/* LDAP cache specific operational attribute */
|
||||
AttributeDescription *si_ad_queryid;
|
||||
|
||||
AttributeDescription *si_ad_dseType;
|
||||
AttributeDescription *si_ad_syncreplCookie;
|
||||
AttributeDescription *si_ad_contextCSN;
|
||||
|
Loading…
Reference in New Issue
Block a user