How to disable ldap and allow local authentication in debian server?
8,068
I would utilize authconfig
because you aren't really indicating which method of LDAP authentication you're using. Try this command:
authconfig --disableldapauth --disableldap --enableshadow --updateall
You will need to add users to the local passwd file using the useradd
command
useradd foouser
Related videos on Youtube
Author by
Zaira banu
Updated on September 18, 2022Comments
-
Zaira banu almost 2 years
I have debian server Debian 3.2.81-2 x86_64 GNU/Linux. I want to disable openldap and enable local authentication. I see
/etc/ldap/ldap.conf
file which has ldap entry.I have ran service slapd stop; if server is rebooted, will the slapd service start automatically?
-
Zaira banu about 7 yearsabove command is for redhat or centos server.This is a debian server.it os openldap