Forum

[SOLVED] Problem LD...
 
Notifications
Retirer tout

[SOLVED] Problem LDAP Connexion

7 Posts
2 Utilisateurs
0 Reactions
10.7 {numéro}K Vu
(@fbinoust)
Posts: 5
Active Member
Début du sujet
 
[#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


 
Posté : 30 Déc PM 18:1212
(@babynus)
Posts: 14952
Membre 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.


 
Posté : 30 Déc PM 18:1212
(@fbinoust)
Posts: 5
Active Member
Début du sujet
 

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


 
Posté : 30 Déc PM 18:1212
(@babynus)
Posts: 14952
Membre 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.


 
Posté : 30 Déc PM 19:1212
(@fbinoust)
Posts: 5
Active Member
Début du sujet
 

How can I do to find the good version
Thanks


 
Posté : 30 Déc PM 19:1212
(@babynus)
Posts: 14952
Membre Admin
 

Maybe upgrade to a most recent WAMP stack.


 
Posté : 30 Déc PM 21:1212
(@fbinoust)
Posts: 5
Active Member
Début du sujet
 

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


 
Posté : 4 Jan AM 11:011
Share:
Retour en haut