Re: [web2py] Active Directory (ldap) authntication problem

2017-06-27 Thread Richard Vézina
You are welcome Richard On Tue, Jun 27, 2017 at 4:42 AM, Francisco García Claramonte < fgclaramo...@gmail.com> wrote: > Good Morning Richard, > > First thank you for your fast help. > I'd changed my configuration according your example. > > Now, It is: > > auth.settings.login_methods = [ auth, >

Re: [web2py] Active Directory (ldap) authntication problem

2017-06-27 Thread Francisco García Claramonte
Good Morning Richard, First thank you for your fast help. I'd changed my configuration according your example. Now, It is: auth.settings.login_methods = [ auth, ldap_auth(mode='ad', server= server_ldap,

Re: [web2py] Active Directory (ldap) authntication problem

2017-06-26 Thread Richard Vézina
Note : Don't use many differents methods of authentication, if you can... I was doing it before until I realize that my user was block/locked regularly because of automated testing... The web2py is performing multiple authentication, trying one method before shift to the other if the password is no

Re: [web2py] Active Directory (ldap) authntication problem

2017-06-26 Thread Richard Vézina
Here my conf : auth.settings.login_methods = \ [auth, ldap_auth(mode='ad', # --- # To unlock LDAPS with self-signed certificate this line should be # present in ldap_auth.py :

[web2py] Active Directory (ldap) authntication problem

2017-06-26 Thread Francisco García
Hello all, I have the following configuration to validate users with windows Active directory: auth.define_tables(username=False, signature=False) auth.settings.create_user_groups = False auth.settings.actions_disabled=['register','change_password','request_reset_password','retrieve_username',