function callbackWrapper (err, ret) {
    self.removeListener('connectError', callbackWrapper)
    callback(err, ret)
  }
Performs a simple authentication against the server.

@param {String} name the DN to bind as.
@param {String} credentials the userPassword associated with name.
@param {Control} controls (optional) either a Control or [Control].
@param {Function} callback of the form f(err, res).
@throws {TypeError} on invalid input.