LDAP Authentication Error

LDAP Authentication Error

by Mike Hathaway -
Number of replies: 3
I am having trouble getting LDAP authentication working. have been using Kyles excellent post on how to set it up. But no matter how I do the bind it failes. I get this error
Error: could not bind ldap with ldap_bind_dn/pw

This is the DN of the bind user (me)

CN=Mike Hathaway,OU=Administrators,OU=Group Policies,DC=ace,DC=win,DC=fuhsd,DC=org

My Username is mike_hathaway but that also failes. All of our user accounts sit in a organization unit instead of the traditional Users folder... although I cant get the user Administrator in that folder to work either. I know both have enough privilages to create users in AD and Add computers and servers to AD

Perhaps a few people sending me there working DN's that I can see as examples might help.

Thanks

Mike Hathaway
Average of ratings: -
In reply to Mike Hathaway

Re: LDAP Authentication Error

by Peter Honan -

Try adapting the following to your domain, this runs on W2K AD without a problem.

The main issue I had was to identify the real CN for users, the only way is to use an LDAP app. I've zipped up the M$ version if you need.....

ldap_host_url: ldap://zeus.domain.brauer.vic.edu.au
ldap_contexts: OU=Curriulum Users,DC=domain,DC=brauer,DC=vic,DC=edu,DC=au
ldap_user_attribute: cn
ldap_search_sub: 1
ldap_bind_dn: CN=MdlUsr,CN=Users,DC=domain,DC=brauer,DC=vic,DC=edu,DC=au
ldap_bind_pw: password
ldap_memberattribute: memberOf
ldap_creators: CN=Moodle Course Creators,OU=Staff Groups,OU=Brauer Curriulum Users,DC=domain,DC=brauer,DC=vic,DC=edu,DC=au

In reply to Peter Honan

Re: LDAP Authentication Error

by Wichean Eungpinitpong -

I have configed Moodle 1.3 for working with W2K LDAP as Peter suggested, Ii is working well.

Thank you very much.

Wichean