LDAP auth problem.

LDAP auth problem.

Simon Ramsey -
回帖数:2
I'm completely new to LDAP, hadn't even heard of it before last week. I'm on a work placement for my degree at a school, and i'm setting up moodle on a linux system. However, i've hit the snag of not being able to authenticate via LDAP. The LDAP server is correct, and so is the Distinguished Name & pass, but every time i attempt login with an external user, i get the following error message:

LDAP-module cannot connect to any servers: Server: 'ldap://server.aaa.bbb/' Connection: 'Resource id #51' Bind result: ''


More information about this error


The hyperlink takes me to a wiki saying that there must be a misconfiguration of the above elements, but i'm pretty sure they're spot on. Anyone with any ideas? all would be welcomed. Thanks.

回复Simon Ramsey

Re: LDAP auth problem.

Kevin Peck -

Can you confirm that you have the ldap module for your version of php installed??

There is another forum for authentication issues:

http://moodle.org/mod/forum/view.php?id=42

You need to make sure that the ldap module is installed, and that the extensions are enabled in the config file for php (php.ini).

-Kevin Peck

回复Kevin Peck

Re: LDAP auth problem.

Ron Meske -
If you confirm that the LDAP module is the correct version and it is enabled as Kevin mentions, another easy thing to check is for firewalls and Proxy servers. We have found that they can interfere with LDAP unless properly configured.