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','profile']
auth.settings.remember_me_form = False

auth.settings.login_methods.append(ldap_auth(mode='ad',
                                             server= server_ldap,
                                            
 base_dn='OU=_delegat,DC=domain,DC=net'
    ))

auth.settings.login_methods = [ldap_auth, auth]


With this configuration, Active directory server doesn't validate users.
And whatever email and password access, creates the new user, if it doesn't 
exist, and grant access to application.

Do you know what could be the problem?.
Any help is appreciated.  Thank you.

Best regards,
Francisco.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to