develop
asamoukin 15 years ago
parent 6de8d345a6
commit f5ffea5ffe

@ -5601,10 +5601,8 @@ if %%errorlevel%%==0 NET USE T: \\\\%s\\ftp' %(netbios,netbios,netbios)
self.printERROR(_("ERROR") + ": " +\
_("Can not add Samba admin password"))
return False
textLines = self.execProg("/etc/init.d/slapd restart", False, False)
if not (textLines and type(textLines) == types.ListType and\
"ok" in textLines[-1] or textLines and "ok" in textLines):
self.printNotOK(_("LDAP restart") + " ...")
# Рестарт LDAP сервера
if not self.restartLdapServer():
return False
#Cоединение с Ldap (администратор)
if not shareLdap.getLdapObjInFile(self):

Loading…
Cancel
Save