lib/messages/moddn_request.js
function ModifyDNRequest(options) {
  options = options || {};
  assert.object(options);
  assert.optionalBool(options.deleteOldRdn);
  lassert.optionalStringDN(options.entry);
  lassert.optionalDN(options.newRdn);
  lassert.optionalDN(options.newSuperior);

  options.protocolOp = Protocol.LDAP_REQ_MODRDN;
  LDAPMessage.call(this, options);

  this.entry = options.entry || null;
  this.newRdn = options.newRdn || null;
  this.deleteOldRdn = options.deleteOldRdn || true;
  this.newSuperior = options.newSuperior || null;
}
function ModifyDNRequest(options) {
  options = options || {};
  assert.object(options);
  assert.optionalBool(options.deleteOldRdn);
  lassert.optionalStringDN(options.entry);
  lassert.optionalDN(options.newRdn);
  lassert.optionalDN(options.newSuperior);

  options.protocolOp = Protocol.LDAP_REQ_MODRDN;
  LDAPMessage.call(this, options);

  this.entry = options.entry || null;
  this.newRdn = options.newRdn || null;
  this.deleteOldRdn = options.deleteOldRdn || true;
  this.newSuperior = options.newSuperior || null;
}
/--- API