summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2013-08-05 15:42:29 +0300
committerMartin Kosek <mkosek@redhat.com>2013-08-06 16:31:09 +0200
commit7ae58f0ca92e4a573e62aa4e770e12062bb2ddff (patch)
tree10a839eb28a9fb72d1c7b02795c70af93f49697e /ipaserver
parent453d88f88603074651a0b8bcd7d867ca05f1cb70 (diff)
downloadfreeipa-7ae58f0ca92e4a573e62aa4e770e12062bb2ddff.tar.gz
freeipa-7ae58f0ca92e4a573e62aa4e770e12062bb2ddff.tar.xz
freeipa-7ae58f0ca92e4a573e62aa4e770e12062bb2ddff.zip
Rename slapi-nis configuration variable
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/adtrustinstance.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ipaserver/install/adtrustinstance.py b/ipaserver/install/adtrustinstance.py
index f072a6a32..5839b2f17 100644
--- a/ipaserver/install/adtrustinstance.py
+++ b/ipaserver/install/adtrustinstance.py
@@ -667,16 +667,16 @@ class ADTRUSTInstance(service.Service):
def __enable_compat_tree(self):
try:
compat_plugin_dn = DN("cn=Schema Compatibility,cn=plugins,cn=config")
- lookup_sssd_name = "schema-compat-lookup-sssd"
+ lookup_nsswitch_name = "schema-compat-lookup-nsswitch"
for config in (("cn=users", "user"), ("cn=groups", "group")):
entry_dn = DN(config[0], compat_plugin_dn)
current = self.admin_conn.get_entry(entry_dn)
- lookup_sssd = current.get(lookup_sssd_name, [])
- if not(config[1] in lookup_sssd):
- current[lookup_sssd_name] = [config[1]]
+ lookup_nsswitch = current.get(lookup_nsswitch_name, [])
+ if not(config[1] in lookup_nsswitch):
+ current[lookup_nsswitch_name] = [config[1]]
self.admin_conn.update_entry(entry_dn, current)
except Exception, e:
- root_logger.critical("Enabling SSSD support in slapi-nis failed with error '%s'" % e)
+ root_logger.critical("Enabling nsswitch support in slapi-nis failed with error '%s'" % e)
def __start(self):
try: