I am trying to authenticate phpmyfaq with our directory server ds389. My config is as below
ldap.php
<?php
// Main LDAP server
$PMF_LDAP['ldap_server'] = 'ip';
$PMF_LDAP['ldap_port'] = '389';
$PMF_LDAP['ldap_user'] = 'uid=user'; (Also tries uid=user,ou=user,ou=staff,dc=example,dc=in)
$PMF_LDAP['ldap_password'] = 'password';
$PMF_LDAP['ldap_base'] = 'ou=user,ou=staff,dc=example,dc=in';
constants_ldap.php
$PMF_LDAP['ldap_mapping'] = array (
'name' => 'cn',
'username' => 'uid',
'mail' => 'mail'
);
$PMF_LDAP['ldap_use_domain_prefix'] = false;
I just changed these parameters,
Please help me fixing the issue.
Thanks and regards
LDAP Authentication
Moderator: Thorsten
Re: LDAP Authentication
Hi,
which errors do you get?
bye
Thorsten
which errors do you get?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: LDAP Authentication
Hi Thorsten,
Its saying
Wrong username or password.
I tried it different combinations of the configuration but no luck. Please help we need to deploy this for our school .
Thanks and regards
Vikram
Its saying
Wrong username or password.
I tried it different combinations of the configuration but no luck. Please help we need to deploy this for our school .
Thanks and regards
Vikram
Re: LDAP Authentication
Hi,
please check the logs of your LDAP server.
bye
Thorsten
please check the logs of your LDAP server.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: LDAP Authentication
Did a fresh installation and it's working now thanks for the support
Also i want to address a issue i faced my database password contain special characters like " " due to that i was not able to do web installation. Always password incorrect . So i had to create another user and set password with out special characters than it worked fine. Please look into that also for your future release.
Wonderful Script thanks again will update you guys in case i found anything else
Also i want to address a issue i faced my database password contain special characters like " " due to that i was not able to do web installation. Always password incorrect . So i had to create another user and set password with out special characters than it worked fine. Please look into that also for your future release.
Wonderful Script thanks again will update you guys in case i found anything else
Re: LDAP Authentication
Hi,
pretty cool. Please report issues here: https://github.com/thorsten/phpMyFAQ/issues
bye
Thorsten
pretty cool. Please report issues here: https://github.com/thorsten/phpMyFAQ/issues
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: LDAP Authentication
Are there any changes that are making it possible to create a password with mixed letters and the quotation marks?Thorsten wrote:Hi,
pretty cool. Please report issues here: https://github.com/thorsten/phpMyFAQ/issues
bye
Thorsten
Re: LDAP Authentication
Hi,
this is already fixed.
bye
Thorsten
this is already fixed.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist