changeset 4679:903831e9eb77

ldap_login: use None as default value for ssl certs/keys (updated config/more_samples/ file)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 13 Apr 2009 14:09:57 +0200
parents e42fc41f71a4
children 58b18877d6ac 5f51246a4df1
files wiki/config/more_samples/ldap_wikiconfig_snippet
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/wiki/config/more_samples/ldap_wikiconfig_snippet	Mon Apr 06 12:27:11 2009 +0200
+++ b/wiki/config/more_samples/ldap_wikiconfig_snippet	Mon Apr 13 14:09:57 2009 +0200
@@ -40,10 +40,10 @@
         coding='utf-8', # coding used for ldap queries and result values
         timeout=10, # how long we wait for the ldap server [s]
         start_tls=0, # usage of Transport Layer Security 0 = No, 1 = Try, 2 = Required
-        tls_cacertdir='',
-        tls_cacertfile='',
-        tls_certfile='',
-        tls_keyfile='',
+        tls_cacertdir=None,
+        tls_cacertfile=None,
+        tls_certfile=None,
+        tls_keyfile=None,
         tls_require_cert=0, # 0 == ldap.OPT_X_TLS_NEVER (needed for self-signed certs)
         bind_once=False, # set to True to only do one bind - useful if configured to bind as the user on the first attempt
     )