>
> Do you have this needed line anywhere?
> from gluon.contrib.login_methods.ldap_auth import ldap_auth
Yes.
>
> Do you have ldap installed in the version of Python that you're
> running?
> try:
> import ldap

i installed python-ldap 2.3.9 and import ldap functions without
failures.
>
> > 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]?
>

as a windows user we log as <username> in Domain AD (main domain
controller)
emails are <username> @ad.mydomain.com


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

i tried it also without dc=ad but doesn't accept my password.

I changed the form just to accept the username instead of email but
also didn't work.



--~--~---------~--~----~------------~-------~--~----~
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