server/ldaputils.py
changeset 8674 001c1592060a
parent 8638 9f95c2368b8b
child 8683 d537786e52b8
--- a/server/ldaputils.py	Thu Jan 10 22:52:47 2013 +0100
+++ b/server/ldaputils.py	Fri Jan 04 15:18:44 2013 +0100
@@ -1,4 +1,4 @@
-# copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -135,6 +135,7 @@
     _conn = None
 
     def _entity_update(self, source_entity):
+        super(LDAPSourceMixIn, self)._entity_update(source_entity)
         if self.urls:
             if len(self.urls) > 1:
                 raise ValidationError(source_entity.eid, {'url': _('can only have one url')})
@@ -149,6 +150,7 @@
         """update configuration from source entity. `typedconfig` is config
         properly typed with defaults set
         """
+        super(LDAPSourceMixIn, self).update_config(source_entity, typedconfig)
         self.authmode = typedconfig['auth-mode']
         self._authenticate = getattr(self, '_auth_%s' % self.authmode)
         self.cnx_dn = typedconfig['data-cnx-dn']