Attachment 'LdapTlsNoCertificate.diff'

Download

   1 diff -ruN auth.orig/ldap_login.py auth.new/ldap_login.py
   2 --- auth.orig/ldap_login.py	2009-04-01 16:34:54.000000000 +0200
   3 +++ auth.new/ldap_login.py	2009-04-01 16:37:53.000000000 +0200
   4 @@ -141,7 +141,7 @@
   5                          (ldap.OPT_X_TLS, self.start_tls),
   6                          #(ldap.OPT_X_TLS_ALLOW, 1),
   7                      ):
   8 -                        if value is not None:
   9 +                        if value not in (None, ''):
  10                              ldap.set_option(option, value)
  11  
  12                  server = self.server_uri

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-04-01 15:07:37, 0.5 KB) [[attachment:LdapTlsNoCertificate.diff]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.