---
title: Modifying a referral
description: Run a modify command to modify a referral.
component: pingdirectory
version: 11.1
page_id: pingdirectory:pingdirectory_server_administration_guide:pd_ds_modify_referral
canonical_url: https://docs.pingidentity.com/pingdirectory/11.1/pingdirectory_server_administration_guide/pd_ds_modify_referral.html
llms_txt: https://docs.pingidentity.com/pingdirectory/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: September 13, 2023
section_ids:
  steps: Steps
  example: Example:
---

# Modifying a referral

Run a modify command to modify a referral.

## Steps

* To modify the `ref` attribute on the referral entry, run `ldapmodify` with the `manageDSAIT` control.

  ### Example:

  ```shell
  $ bin/ldapmodify --control manageDSAIT
  dn: ou=EngineeringTeam1,ou=People,dc=example,dc=com
  changetype: modify
  replace: ref
  ref: ldap://server3.example.com/ou=EngineeringTeam1,ou=People,dc=example,dc=com
  ```
