Hi!
I wanted to start a new install of the 4.0.14 version. All the setup was ok and I was able to signin with the admin user I have created.
Then wanted to enable ldap so I tried a configuration that was working prior on a 3.x version and then enable ldap in the admin pannel but got some issue. I am currently troubleshooting the connection. My problem is that eeven if I fix my ldap.php parameter or even disable it completly I connot login as admin local anymore because the ldap configuration in the database (I guess) is still active.
Is there a way to disable the ldap configuration in the database to fix what is not working so the local admin account can still login?
Thanks!
How to disable LDAP configuration
Moderator: Thorsten
Re: How to disable LDAP configuration
Code: Select all
UPDATE faqconfig SET config_value = 'false' WHERE config_name = 'ldap.ldapSupport';Re: How to disable LDAP configuration
This ldap config works for me but I need to test more to be sure that I have the correct setting. I am using openldap.
and In the admin page:
Every other settings are not set or set as default
Code: Select all
<?php
// Main LDAP server, format the server as "ldap://127.0.0.1"
$PMF_LDAP['ldap_server'] = 'ldap://ldapserver.domain.lan';
$PMF_LDAP['ldap_port'] = 389;
$PMF_LDAP['ldap_user'] = 'cn=ldapreadonly,dc=domain,dc=lan';
$PMF_LDAP['ldap_password'] = 'arandompassword';
$PMF_LDAP['ldap_base'] = 'ou=people,dc=domain,dc=lan';and In the admin page:
Code: Select all
LDAP mapping for name, "cn" when using an ADS: cn
LDAP mapping for username, "samAccountName" when using an ADS: uid
LDAP mapping for email, "mail" when using an ADS: mail
LDAP attribute for dynamic user binding, "uid" when using an ADS: uidRe: How to disable LDAP configuration
Hi,
the only switch is to enable/disable the LDAP settings. If they are enabled, for every user who tries to login the LDAP connection will be used.
Do you need another behaviour?
bye
Thorsten
the only switch is to enable/disable the LDAP settings. If they are enabled, for every user who tries to login the LDAP connection will be used.
Do you need another behaviour?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist