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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.