From: Pierangelo Masarati Date: Fri, 14 Oct 2005 00:20:56 +0000 (+0000) Subject: note that "discover" is not supported yet X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~267 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=918405d154f66ac8b9f8fc3997d12527815f4836;p=openldap note that "discover" is not supported yet --- diff --git a/servers/slapd/overlays/rwm.c b/servers/slapd/overlays/rwm.c index 430e214ec2..6246cc68a6 100644 --- a/servers/slapd/overlays/rwm.c +++ b/servers/slapd/overlays/rwm.c @@ -695,7 +695,7 @@ rwm_op_search( Operation *op, SlapReply *rs ) dc.normalized = 0; #endif /* ! ENABLE_REWRITE */ - rc = rwm_filter_map_rewrite( &dc, op->ors_filter, &fstr ); + rc = rwm_filter_map_rewrite( op, &dc, op->ors_filter, &fstr ); if ( rc != LDAP_SUCCESS ) { text = "searchFilter/searchFilterAttrDN massage error"; goto error_return; @@ -1395,9 +1395,14 @@ rwm_db_config( } else if ( strcasecmp( argv[ 1 ], "yes" ) == 0 ) { rwmap->rwm_flags |= RWM_F_SUPPORT_T_F; -#if 0 /* TODO: not implemented yet */ } else if ( strcasecmp( argv[ 1 ], "discover" ) == 0 ) { + fprintf( stderr, + "%s: line %d: \"discover\" not supported yet " + "in \"t-f-support {no|yes|discover}\".\n", + fname, lineno ); + return( 1 ); +#if 0 rwmap->rwm_flags |= RWM_F_SUPPORT_T_F_DISCOVER; #endif