Hi

I've installed drupal 6 using wampserver on windows sever 2008.I downloaded a webserver authintication module and mod-auth-sspi installed in apache when I try to login using my domain account I get an error Sorry, unrecognized username or password. Have you forgotten your password.I tried using the ldap intergation module I get the same error.Please help

Thank you

Comments

aloyr’s picture

Hi. Have you taken a look at the ldap_integration module? http://drupal.org/project/ldap_integration

We use that for authentication on some sites and for user information on even more sites. this can pull in and convert your OUs or dist groups into roles for you and correctly assign users.

Another solution we use for authentication (combined with ldap_integration) is the cas module: http://drupal.org/project/cas

For cas you will need an external cas server or you can setup drupal to act as a cas server (but I haven't done that on my own setup).

I hope this helps you.

-A

perl -e 'print unpack(u,";8F4@=&AE(&-H86YG92P@=7-E(&1R=7!A;\"\$*");'

Nondu03’s picture

Hi aloyr

Thanks for the reply.I tried the ldap_integration module it giving me this error "Authentication with the LDAP server failed" .
My settings:
Name: company Name
ldap server://192.168.1.17/
ldap port:389
Base DN:cn=Users, dc=dynatechis, dc=co, dc=za

I know the ip and the port are correct because I've used the same to alfresco and it working fine.

aloyr’s picture

I am not sure if this will fix your problem, but could you try the following for Base DN?
Base DN: dc=dynatechis, dc=co, dc=za
Essentially just removing the cn=users bit.

Also, does your AD require non-anonymous search? If so, you may need to specify a Bind DN as well.

-A

perl -e 'print unpack(u,";8F4@=&AE(&-H86YG92P@=7-E(&1R=7!A;\"\$*");'

Nondu03’s picture

Hi

I’m not sure what I’m missing I’ve used the bind DN and I’m getting this error “Error -1: Can't contact LDAP server”.I’ve changed my settings because of the ssl that is enable on my apache.
Name: company Name
ldap server: ldaps://192.168.1.17/
ldap port: 636
Base DN: dc=dynatechis, dc=co, dc=za

Please help I’m lost.thanks

Arnold Leung’s picture

Take a look at this LDAP tutorial that we wrote.

We used it for Alfresco/Drupal integration too

http://www.appnovation.com/drupal-ldap-integration

Nondu03’s picture

Hi All

Thanks for the responses.I used the third party application to test ldap sever configuration then I got the right Base DNs, now it connect to my ldap server I get this message "Authentication with the LDAP server succeeded." but when I log in to the site with my domain credentials I get this error "Sorry, unrecognized username or password. Have you forgotten your password?"

please help thanks in advance

dgtlmoon’s picture

I just rewrote the tutorial/documentation here https://www.drupal.org/node/1302070 there is a small patch required #1917254: LDAP Authorization does not map ldap groups to drupal roles