In this blog post, you’ll learn more about the Sybase Error Prevented removal of LDAP server \”%1\” because it is the only LDAP server and the value of login_mode is \”LDAPUA\”. and the reason for receiving this error
Sybase SQL Error Message
Prevented removal of LDAP server \”%1\” because it is the only LDAP server and the value of login_mode is \”LDAPUA\”.
Reason for this Error
The setting for server-wide login_mode option is LDAPUA so to avoid locking out users from connecting, prevent the removal of the only LDAP server. Change login_mode before proceeding to DROP LDAP SERVER <server name>.