summaryrefslogtreecommitdiffstats
path: root/src/config/SSSDConfig/__init__.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/SSSDConfig/__init__.py.in')
-rw-r--r--src/config/SSSDConfig/__init__.py.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/SSSDConfig/__init__.py.in b/src/config/SSSDConfig/__init__.py.in
index 32613543f..b90a8e100 100644
--- a/src/config/SSSDConfig/__init__.py.in
+++ b/src/config/SSSDConfig/__init__.py.in
@@ -1254,6 +1254,11 @@ class SSSDDomain(SSSDConfigObject):
if self.options.has_key(option):
del self.options[option]
+ # Remove this provider from the option list
+ option = '%s_provider' % provider_type
+ if self.options.has_key(option):
+ del self.options[option]
+
self.providers.remove((provider, provider_type))
class SSSDConfig(SSSDChangeConf):