mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Reference slapi_search_internal() due to linker error -- need to fix this
properly XXX
This commit is contained in:
parent
8c18022b41
commit
8621f955b2
@ -489,10 +489,10 @@ static int doPreSearchPluginFNs( Backend *be, Slapi_PBlock *pb )
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( OPERATION, INFO, "doPreSearchPluginFNs: search preoperation plugin "
|
||||
"failed\n", 0, 0, 0 );
|
||||
"returned %d\n", rc, 0, 0 );
|
||||
#else
|
||||
Debug(LDAP_DEBUG_TRACE, "doPreSearchPluginFNs: search preoperation plugin "
|
||||
"failed.\n", 0, 0, 0);
|
||||
"returned %d.\n", rc, 0, 0);
|
||||
#endif
|
||||
if ( slapi_pblock_get( pb, SLAPI_RESULT_CODE, (void *)&rc ) != 0)
|
||||
rc = LDAP_OTHER;
|
||||
@ -540,5 +540,15 @@ static int doPostSearchPluginFNs( Backend *be, Slapi_PBlock *pb )
|
||||
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
void dummy(void)
|
||||
{
|
||||
/*
|
||||
* XXX slapi_search_internal() was no getting pulled
|
||||
* in; all manner of linker flags failed to link it.
|
||||
* FIXME
|
||||
*/
|
||||
slapi_search_internal( NULL, 0, NULL, NULL, NULL, 0 );
|
||||
}
|
||||
#endif /* LDAP_SLAPI */
|
||||
|
||||
|
@ -1271,7 +1271,8 @@ slapi_search_internal(
|
||||
#if defined(LDAP_SLAPI)
|
||||
return slapi_search_internal_bind( NULL, base, scope, filStr,
|
||||
controls, attrs, attrsonly );
|
||||
#endif
|
||||
#else
|
||||
return NULL;
|
||||
#endif /* LDAP_SLAPI */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user