diff options
author | Alexander Bokovoy <abokovoy@redhat.com> | 2012-06-26 13:10:07 +0300 |
---|---|---|
committer | Alexander Bokovoy <abokovoy@redhat.com> | 2012-06-27 17:13:42 +0300 |
commit | 8a1a4efb1615f040f1e15280ea7eff163dccfe06 (patch) | |
tree | 66101609bc9893d3dee977b089d07a11c938435c /ipaserver | |
parent | ae96260a95f7dadba400e2051455ed3f92d6627d (diff) | |
download | freeipa-8a1a4efb1615f040f1e15280ea7eff163dccfe06.tar.gz freeipa-8a1a4efb1615f040f1e15280ea7eff163dccfe06.tar.xz freeipa-8a1a4efb1615f040f1e15280ea7eff163dccfe06.zip |
Ensure that winbind service is also started when ipa-adtrust-install is run
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/install/adtrustinstance.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ipaserver/install/adtrustinstance.py b/ipaserver/install/adtrustinstance.py index ab2f163ef..5ab60ea33 100644 --- a/ipaserver/install/adtrustinstance.py +++ b/ipaserver/install/adtrustinstance.py @@ -410,8 +410,9 @@ class ADTRUSTInstance(service.Service): def __start(self): try: self.start() + ipaservices.service('winbind').start() except: - root_logger.critical("smbd service failed to start") + root_logger.critical("CIFS services failed to start") def __stop(self): self.backup_state("running", self.is_running()) @@ -500,13 +501,13 @@ class ADTRUSTInstance(service.Service): if not self.no_msdcs: self.step("adding special DNS service records", \ self.__add_dns_service_records) - self.step("restarting Directory Server to take MS PAC and CLDAP changes into account", \ + self.step("restarting Directory Server to take MS PAC and LDAP plugins changes into account", \ self.__restart_dirsrv) self.step("setting SELinux booleans", \ self.__configure_selinux_for_smbd) - self.step("starting smbd", self.__start) + self.step("starting CIFS services", self.__start) - self.start_creation("Configuring smbd:") + self.start_creation("Configuring CIFS:") def uninstall(self): if self.is_configured(): |