On Aug 26, 3:59 pm, max <[email protected]> wrote:

Do you have this needed line anywhere?
from gluon.contrib.login_methods.ldap_auth import ldap_auth

Do you have ldap installed in the version of Python that you're
running?
try:
import ldap

> auth.settings.login_methods=[ldap_auth
> (mode='ad',server='ad.mydoman.com',
> base_dn='ou=users,ou=kjc,ou=institute,dc=ad,dc=mydomain,dc=com')]

What is the login that your users use?
[email protected]?

I would expect it to be [email protected] & hence:
base_dn='ou=users,ou=kjc,ou=institute,dc=mydomain,dc=com'

F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to