lib/activedirectory.js
function onSearchEnd(result) {
    if ((! pendingRangeRetrievals) && (pendingReferrals.length <= 0)) {
      client.unbind();
      log.info('Active directory search (%s) for "%s" returned %d entries.',
               baseDN, truncateLogOutput(opts.filter),
               (results || []).length);
      if (callback) callback(null, results);
    }
  }
function onSearchEnd(result) {
    if ((! pendingRangeRetrievals) && (pendingReferrals.length <= 0)) {
      client.unbind();
      log.info('Active directory search (%s) for "%s" returned %d entries.',
               baseDN, truncateLogOutput(opts.filter),
               (results || []).length);
      if (callback) callback(null, results);
    }
  }
function onSearchEnd ( result ) { if ( ( ! pendingRangeRetrievals ) && ( pendingReferrals . length <= 0 ) ) { client . unbind ( ) ; log . info ( 'Active directory search (%s) for "%s" returned %d entries.' , baseDN , truncateLogOutput ( opts . filter ) , ( results || [ ] ) . length ) ; if ( callback ) callback ( null , results ) ; } }
Occurs when a search results have all been processed.
@param {Object} result
Occurs when a search results have all been processed .