On Jun 18, 2:11 pm, Johann Spies <johann.sp...@gmail.com> wrote: > > With patched version, like this (also sent by email to you & Massimo): > > auth.settings.login_methods=[ldap_auth(server='stbldap01.sun.ac.za', > > base_dn='ou=users,O=SU', mode='cn', secure=True] > Where should the brackets be closed? I get > auth.settings.login_methods=[ldap_auth(server='stbldap01.sun.ac.za', > base_dn='ou=users,O=SU', mode='cn', secure=True)]
You're correct, my example had a typo - you corrected fine. > TypeError: ldap_auth() got an unexpected keyword argument 'secure' It seems that the new version of this file isn't active. Did you restart Web2Py after replacing the file? F --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---