Disable LDAP authentication on Ubuntu

8,519

A quick way to disable LDAP authentication is to remove any ldap sources from /etc/nsswitch.conf.

Share:
8,519

Related videos on Youtube

wdhilliard
Author by

wdhilliard

Updated on September 18, 2022

Comments

  • wdhilliard
    wdhilliard over 1 year

    I have an Ubuntu server that is able to authenticate users against our Domain. I can not contact the person who set this up, but I do find these packages installed:

    libaprtil1-ldap libldap-2.4-2 samba

    Our server is taking a good minute or so to authenticate ANY user at this point. I believe that it is because one of our DCs was disabled a couple weeks ago. This causes many programs I use to timeout before successfully authenticating. I do not want to uninstall anything, as I do not want to make more work for our admin. I just need some suggestions on how I can disable this in the meantime, until things can get fixed.