Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Problem LD...
 
Notifications
Clear all

[SOLVED] Problem LDAP Connexion

7 Posts
2 Users
0 Reactions
10.7 K Views
(@fbinoust)
Posts: 5
Active Member
Topic starter
 
[#2840]

Hello,

I can activate LDAP authentification in Projeqtor
The server is Windows 2012
WampServer Version 2.5
The version of Projeqtor is 5.1.4

Paramètres de gestion Ldap
connexion via LDAP : OUI
base dn LDAP : DC=entrep,DC=local
serveur LDAP : 192.168.1.1
port LDAP : 389
version LDAP : 3
utilisateur LDAP : CN=ADBROWSER,DC=entrep,DC=local
mot de passe LDAP : xxxxxxxxx
filtre pour utilisateur : sAMAccountName=%USERNAME%
profil par défaut pour les utilisateurs Ldap : Invité
message à la création d'un utilisateur Ldap : Alerte interne & mail

In logs the message is
2015-12-30 15:46:46.579 ** ERROR ** Ldap not installed on your PHP server. Check php_ldap extension or you should not set $paramLdap_allow_login to "true"
2015-12-30 15:46:46.579 ===== TRACE ===== Error contacting Ldap for user 'adminsal'

In my php.ini, I've got
extension=php_ldap.dll
...
[ldap]
; Sets the maximum number of open links or -1 for unlimited.
ldap.max_links = -1

php_ldap.dll exist

With LDAP Browser I can connect to my LDAP base
Is someone can help me ?
Thanks


 
Posted : 30 Dec 2015 18H03
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

Hi,
Can you please post a php info ?
To get this, create a php file (for instance info.php) with


Then call it from browser.


 
Posted : 30 Dec 2015 18H18
(@fbinoust)
Posts: 5
Active Member
Topic starter
 

You will find the configuration in the file config php.pdf
Regards


 
Posted : 30 Dec 2015 18H47
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

The ldap module does not appear in the phpinfo.
So sure issue is due to incorrectly loaded ladap module.

Check for errors in php log file (or in apache error log file).
Also be sure to restart php.
Issue may be due to ldap dll version not corresponding to php version.


 
Posted : 30 Dec 2015 19H14
(@fbinoust)
Posts: 5
Active Member
Topic starter
 

How can I do to find the good version
Thanks


 
Posted : 30 Dec 2015 19H31
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

Maybe upgrade to a most recent WAMP stack.


 
Posted : 30 Dec 2015 21H51
(@fbinoust)
Posts: 5
Active Member
Topic starter
 

Finally, we copied the ldap files in the apache folders and it works
Thanks


 
Posted : 04 Jan 2016 11H38
Share:

Scroll to Top