On Aug 6, 5:42 am, Ahmed Soliman <ah...@farghal.com> wrote:
> Hello everybody,
>
> I'm starting to dig more into web2py and I started playing with LDAP
> authentication which lacks documentation on the website, I managed to get it
> working but I have to following notes:
>
>    1. Change password still checks the password against the database, it
>    should check binding to the LDAP instead.

This can be disabled. Do

auth.settings.login_methods=[ldap_auth(...)]

instead of

auth.settings.login_methods.append(ldap_auth(...))

>    2. We should add method to hook on change profile and change password to
>    update the LDAP as well.
>
> What do you think?

This is a good idea but needs some design first.

>
> Ahmed Soliman
> Software Engineer
> B-Virtual Team.
>
> Thebe Technology. Egypt - Belgium
> 16 Nehro St. Heliopolis. Cairo
> Egypt.
>
> http://www.b-virtual.orghttp://www.thebetechnology.com
>
> GPG ID: 0xAEEE5042
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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