Stop trusted binding with an LDAP directory in Directory Utility on Mac
You can use Directory Utility to stop trusted binding between a computer and an LDAP directory that permits but doesn’t require trusted binding.
In the Directory Utility app on your Mac, click Services.
Click the lock icon.
Enter an administrator’s username and password, then click Modify Configuration (or use Touch ID).
Select LDAPv3, then click the “Edit settings for the selected service” button .
If the list of server configurations is hidden, click the disclosure triangle next to Show Options.
Select a server configuration, then click Edit.
Click Unbind, enter the name and password of an LDAP directory administrator (not a local computer administrator), then click OK.
If trusted binding hasn’t been set up on this computer, the Unbind button does not appear.
If an alert indicates the computer can’t contact the LDAP server, click OK if you want to forcibly stop trusted binding.
If you forcibly stop trusted binding, this computer still has a computer record in the LDAP directory. Let the Active Directory administrator know to remove the computer record.