ldap should work already. Please test it.

On Jun 8, 9:29 pm, "mr.freeze" <nfre...@gmail.com> wrote:
> Massimo, I can test ldap against AD when it is finished.
>
> On May 13, 12:01 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > Please try this....
>
> > 1) to authenticate with gmail
>
> > auth=Auth(globals(),db)
> > from gluon.contrib.login_methods.email_auth import email_auth
> > auth.settings.login_methods.append(email_auth())
>
> > 2) to authenticate using basic authentication of a third party server
>
> > auth=Auth(globals(),db)
> > from gluon.contrib.login_methods.basic_auth import basic_auth
> > auth.settings.login_methods.append(basic_auth('http://server'))
>
> > 3) to authenticate using LDAP  server
>
> > auth=Auth(globals(),db)
> > from gluon.contrib.login_methods.ldap_auth import ldap_auth
> > auth.settings.login_methods.append(ldap_auth(...))
>
> > (requires ldap library installed. look into gluon/contrib/
> > login_methods/ldap_auth.py for ... options).
>
> > Please let me know if this works for you.
>
> > CAS client will be next....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to