summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2012-06-26 13:10:07 +0300
committerAlexander Bokovoy <abokovoy@redhat.com>2012-06-27 17:13:42 +0300
commit8a1a4efb1615f040f1e15280ea7eff163dccfe06 (patch)
tree66101609bc9893d3dee977b089d07a11c938435c
parentae96260a95f7dadba400e2051455ed3f92d6627d (diff)
downloadfreeipa-8a1a4efb1615f040f1e15280ea7eff163dccfe06.zip
freeipa-8a1a4efb1615f040f1e15280ea7eff163dccfe06.tar.gz
freeipa-8a1a4efb1615f040f1e15280ea7eff163dccfe06.tar.xz
Ensure that winbind service is also started when ipa-adtrust-install is run
-rw-r--r--ipaserver/install/adtrustinstance.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/ipaserver/install/adtrustinstance.py b/ipaserver/install/adtrustinstance.py
index ab2f163..5ab60ea 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():