server/ldaputils.py
changeset 8244 c7d89541e3c5
parent 8188 1867e252e487
child 8250 171a9d6bff8f
--- a/server/ldaputils.py	Thu Feb 16 14:23:24 2012 +0100
+++ b/server/ldaputils.py	Thu Feb 16 14:17:53 2012 +0100
@@ -303,7 +303,7 @@
         if cnx is None:
             # cant connect to server
             msg = session._("can't connect to source %s, some data may be missing")
-            session.set_shared_data('sources_error', msg % self.uri)
+            session.set_shared_data('sources_error', msg % self.uri, txdata=True)
             return []
         try:
             res = cnx.search_s(base, scope, searchstr, attrs)