Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erreur ldap_bind #1

Open
ddessertine opened this issue Sep 30, 2015 · 2 comments
Open

erreur ldap_bind #1

ddessertine opened this issue Sep 30, 2015 · 2 comments

Comments

@ddessertine
Copy link

Quand on entre les infos du serveur dans la plateforme tout semble, le fichier yml est bien configuré et il remonte bien les infos.

Lors du login avec un compte valide sur ldap (Acite Directory) j'ai une première erreur :
ldap_bind(): Unable to bind to server: Invalid credentials in /var/www/html/claroline/vendor/claroline/ldap-bundle/Claroline/LdapBundle/Manager/LdapManager.php on line 56, referer: http://claroline/login

Dans ce fichier si je modifie manuellement $user et $password en mettant des valeurs en dure, le bin se fait mais j'ai ensuite les erreurs suivantes :
dap_search(): Search: No such object in /var/www/html/claroline/vendor/claroline/ldap-bundle/Claroline/LdapBundle/Manager/LdapManager.php on line 86, referer: http://claroline/login
[Wed Sep 30 17:35:56.394665 2015] [:error] [pid 29819] [client 10.6.15.128:51111] PHP Warning: ldap_get_entries() expects parameter 2 to be resource, boolean given in /var/www/html/claroline/vendor/claroline/ldap-bundle/Claroline/LdapBundle/Manager/LdapManager.php on line 127, referer: http://claroline/login
[Wed Sep 30 17:35:56.394674 2015] [:error] [pid 29819] [client 10.6.15.128:51111] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/claroline/vendor/claroline/ldap-bundle/Claroline/LdapBundle/Manager/LdapManager.php on line 91, referer: http://claroline/login

et quelques Notices :
[Wed Sep 30 17:35:56.394724 2015] [:error] [pid 29819] [client 10.6.15.128:51111] PHP Notice: Undefined index: first_name in /var/www/html/claroline/vendor/claroline/core-bundle/Claroline/CoreBundle/Library/Security/ExternalAuthenticator.php on line 88, referer: http://claroline/login
[Wed Sep 30 17:35:56.394733 2015] [:error] [pid 29819] [client 10.6.15.128:51111] PHP Notice: Undefined index: password in /var/www/html/claroline/vendor/claroline/core-bundle/Claroline/CoreBundle/Library/Security/ExternalAuthenticator.php on line 89, referer: http://claroline/login
[Wed Sep 30 17:35:56.394761 2015] [:error] [pid 29819] [client 10.6.15.128:51111] PHP Notice: Undefined index: last_name in /var/www/html/claroline/vendor/claroline/core-bundle/Claroline/CoreBundle/Library/Security/ExternalAuthenticator.php on line 90, referer: http://claroline/login
[Wed Sep 30 17:35:56.394787 2015] [:error] [pid 29819] [client 10.6.15.128:51111] PHP Notice: Undefined index: username in /var/www/html/claroline/vendor/claroline/core-bundle/Claroline/CoreBundle/Library/Security/ExternalAuthenticator.php on line 91, referer: http://claroline/login
[Wed Sep 30 17:35:56.394794 2015] [:error] [pid 29819] [client 10.6.15.128:51111] PHP Notice: Undefined index: email in /var/www/html/claroline/vendor/claroline/core-bundle/Claroline/CoreBundle/Library/Security/ExternalAuthenticator.php on line 92, referer: http://claroline/login

J'ai l'impression que depuis la page de login Symfony ne transmet pas les variable $user et $password

@ngodfraind
Copy link
Member

Le ldap est un peu mal fichu pour le bind, j'ai déjà vu des bizarreries.
En fait, il ne parvient pas à se connecter avec les logins/pw que vous avez donné, et le reste des erreurs/warning en découle.

Je regarderai ça plus en détail demain (je risque de vous recontacter par contre).

@ddessertine
Copy link
Author

Pas de soucis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants