Quantcast
Channel: Authentication
Viewing all articles
Browse latest Browse all 8256

Re: LDAP authentication is importing users, but not letting me sign in.

$
0
0
by Mariam SABIL.  

Hello Ken, I'm sorry for the late answer.

To make it clear (I'm sorry I did'nt have enough time to do it in my fisrt question) and I am a real newbie in moodle so I'm really sorry if you find my questions obvious..

1) The moodle is installed in VM (ubuntu server) and I test it from my computer (windows) but I'm on VPN so I think that it means the moodle and the test are in the same server..

2) Apache Directory Studio is a plugin added to eclipse in order to test the connection with the LDAP using login and password and when I test it I get the entire tree of LDAP (I have to mention that the account I'm using is a "read only" account I don't know if it can create a problem or not because I see in an other discussion https://moodle.org/mod/forum/discuss.php?d=133486#p585234 that Admin user is recommanded)

3) While running php -m I found ldap 

4) When I turned on debugging here is what I see:

Le module LDAP ne peut pas se connecter à aucun des serveurs Server: 'the host of my LDAP', Connection: 'Resource id #30', Bind result: ''

Plus d'informations sur cette erreur

Debug info: 
Error code: auth_ldap_noconnect_all
Stack trace:
  • line 488 of /lib/setuplib.php: moodle_exception thrown
  • line 2161 of /auth/ldap/auth.php: call to print_error()
  • line 215 of /auth/ldap/auth.php: call to auth_plugin_ldap->ldap_connect()
  • line 4180 of /lib/moodlelib.php: call to auth_plugin_ldap->user_login()
  • line 154 of /login/index.php: call to authenticate_user_login()
5) For the last thing, I did'nt really understand what you ask me to do but here is what in the file /auth/ldap/cli/sync_users.php ( in the annex)


Thank you so much for your help smile



Viewing all articles
Browse latest Browse all 8256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>