server/sources/ldapfeed.py
changeset 8708 78a99960286a
parent 8674 001c1592060a
child 8922 715b9eec6da9
--- a/server/sources/ldapfeed.py	Wed Feb 20 16:13:21 2013 +0100
+++ b/server/sources/ldapfeed.py	Tue Dec 18 12:42:56 2012 +0100
@@ -17,6 +17,7 @@
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """cubicweb ldap feed source"""
 
+from cubicweb.cwconfig import merge_options
 from cubicweb.server.sources import datafeed
 from cubicweb.server import ldaputils
 
@@ -30,5 +31,7 @@
     support_entities = {'CWUser': False}
     use_cwuri_as_url = False
 
-    options = datafeed.DataFeedSource.options + ldaputils.LDAPSourceMixIn.options
+    options = merge_options(datafeed.DataFeedSource.options
+                            + ldaputils.LDAPSourceMixIn.options,
+                            optgroup='ldap-source')