Yes secure ldap is causing a lot of problems. I hope it gets sorted out eventually. For now I'm having to modify the framework for my needs.
On Wednesday, November 27, 2013 7:18:45 AM UTC-8, Richard wrote: > > ldap_auth need care, to me it's a draft that need code review, but it > works... I had many issue when I deploy ldap_auth with AD... But I didn't > have time to work further on these issues, we figure it out what was the > bottom of them, but refatoring ldap_auth need time and the most important > tests... > > Richard > > > On Tue, Nov 26, 2013 at 8:12 PM, Maggs <[email protected] <javascript:> > > wrote: > >> I am in this situation where my team is in the process of migrating our >> ldap servers to the vpc and as a result I must update my applications to >> use secure ldap. I have unfortunately run into an issue with ldap_auth >> where it will use secure ldap but it only takes a ca cert file, but I need >> to use ca cert, cert and key files all together. This is possible directly >> through python-ldap like so: >> >> con.set_option(ldap.OPT_X_TLS_CACERTFILE, cacert_file) >>> con.set_option(ldap.OPT_X_TLS_CERTFILE, cert_file) >>> con.set_option(ldap.OPT_X_TLS_KEYFILE, key_file) >> >> >> but doesn't appear to be an option at all through the ldap_auth wrapper >> provided through web2py. I am having to modify this code manually to make >> this work. I'm just curious why these 2 other files aren't options and the >> ca cert is the only option? >> >> Thanks >> >> -- >> 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 [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

