develop
asamoukin 15 years ago
parent f5ffea5ffe
commit 6ae65be166

@ -5627,7 +5627,7 @@ if %%errorlevel%%==0 NET USE T: \\\\%s\\ftp' %(netbios,netbios,netbios)
print _("LDAP Error") + ": " + self.ldapObj.getError().strip()
return False
self.printOK(_("Added ldif file") +" ...")
textLines = self.execProg("/etc/init.d/samba start", False, False)
textLines = self.execProg("/etc/init.d/samba restart", False, False)
if textLines and type(textLines) == types.ListType and\
"ok" in textLines[-1] or textLines and "ok" in textLines:
self.printOK(_("Starting") + " Samba ...")

Loading…
Cancel
Save