}
{
- char **subtree = dn_subtree( NULL, dn );
+ char **subtree = dn_subtree( be, dn );
if( subtree != NULL ) {
int i;
}
{
- char **subtree = dn_subtree( NULL, dn );
+ char **subtree = dn_subtree( be, dn );
if( subtree != NULL ) {
int i;
Debug( LDAP_DEBUG_TRACE, "=> bdb_dn2idl( \"%s\" )\n", dn, 0, 0 );
+ if (prefix == DN_SUBTREE_PREFIX && be_issuffix(be, dn))
+ {
+ BDB_IDL_ALL(bdb, ids);
+ return 0;
+ }
+
DBTzero( &key );
key.size = strlen( dn ) + 2;
key.data = ch_malloc( key.size );