How do i change the authentication from ldap to internal in the database?

I am no longer able to login after i switched to ldap authentication. How do i switch back to normal authentication?

The admin user that was created at the time of installation would still be able to login and switch to normal authentication.
however, if you still want to disable this from the database
connect to the ezeelogin database. The database name and table name can be found from /usr/local/etc/ezlogin/ez.conf

Connect to the database and select the settings table..

mysql> select * from wadhik_settings where name='web_auth';
+----+----------+-------+---------------------+
| id | name | value | mtime |
+----+----------+-------+---------------------+
| 37 | web_auth | ldap | 2016-10-25 22:39:51 |
+----+----------+-------+---------------------+
1 row in set (0.00 sec)

mysql> update wadhik_settings set value='internal' where name='web_auth';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0

mysql> select * from whghik_settings where name='web_auth';
+----+----------+----------+---------------------+
| id | name | value | mtime |
+----+----------+----------+---------------------+
| 37 | web_auth | internal | 2016-10-26 08:55:44 |
+----+----------+----------+---------------------+
1 row in set (0.00 sec)


This would switch the authentication back to 'internal' from 'ldap'

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    Can i install ezeelogin Jump server solution in a lan?
    Viewed 3273 times since Sat, Jul 8, 2017
    cron for changing root passwords on servers periodically
    Viewed 2953 times since Thu, Jun 15, 2017
    How to search using IP or other fields instead of host name in jump server ssh interface or gui?
    Viewed 1612 times since Fri, May 4, 2018
    How to install free SSL with Let’s Encrypt?
    Viewed 1967 times since Wed, Jul 18, 2018
    How to bypass the group menu in the backend shell and go directly to the entire server listing?
    Viewed 2194 times since Tue, Mar 27, 2018
    How to install ssl certs in jump server(secure connection) ?
    Viewed 2710 times since Mon, Apr 30, 2018
    Set SSH User Expiry
    Viewed 1621 times since Thu, Sep 20, 2018
    configure jump server to use SSL for MySQL
    Viewed 2869 times since Mon, Apr 30, 2018
    Will Ezeelogin work behind a firewall or NAT or behind a Proxy?
    Viewed 5822 times since Sat, Jul 8, 2017
    configure jump server to use SSL for MySQL server 5.7 version
    Viewed 2690 times since Thu, Apr 12, 2018