use of com.zimbra.cs.ldap.ZLdapContext in project zm-mailbox by Zimbra.
the class BUG_76427 method doUpgrade.
@Override
void doUpgrade() throws ServiceException {
ZLdapContext zlc = LdapClient.getContext(LdapServerType.MASTER, LdapUsage.UPGRADE);
try {
doGlobalConfig(zlc);
doAllDomain(zlc);
doAllCos(zlc);
} finally {
LdapClient.closeContext(zlc);
}
}
use of com.zimbra.cs.ldap.ZLdapContext in project zm-mailbox by Zimbra.
the class BUG_81385 method doUpgrade.
@Override
void doUpgrade() throws ServiceException {
ZLdapContext zlc = LdapClient.getContext(LdapServerType.MASTER, LdapUsage.UPGRADE);
try {
doCos(zlc);
doAccount(zlc);
} finally {
LdapClient.closeContext(zlc);
}
}
use of com.zimbra.cs.ldap.ZLdapContext in project zm-mailbox by Zimbra.
the class BUG_57425 method doUpgrade.
@Override
void doUpgrade() throws ServiceException {
ZLdapContext zlc = LdapClient.getContext(LdapServerType.MASTER, LdapUsage.UPGRADE);
try {
doGlobalConfig(zlc);
doAllServers(zlc);
} finally {
LdapClient.closeContext(zlc);
}
}
use of com.zimbra.cs.ldap.ZLdapContext in project zm-mailbox by Zimbra.
the class BUG_57866 method doUpgrade.
@Override
void doUpgrade() throws ServiceException {
ZLdapContext zlc = null;
try {
zlc = LdapClient.getContext(LdapServerType.MASTER, LdapUsage.UPGRADE);
try {
printer.println("\n=== Upgrading spam account");
upgradeSpamAccount(zlc);
} catch (ServiceException e) {
printer.printStackTrace("unable to upgrade spam account", e);
}
try {
printer.println("\n=== Upgrading ham account");
upgradeHamAccount(zlc);
} catch (ServiceException e) {
printer.printStackTrace("unable to upgrade ham account", e);
}
try {
printer.println("\n=== Upgrading wiki accounts");
upgradeWikiAccounts(zlc);
} catch (ServiceException e) {
printer.printStackTrace("unable to upgrade wiki accounts", e);
}
try {
printer.println("\n=== Upgrading GAL sync accounts");
upgradeGalSyncAccounts(zlc);
} catch (ServiceException e) {
printer.printStackTrace("unable to upgrade GAL sync accounts", e);
}
try {
printer.println("\n=== Upgrading quarantine account");
upgradeQuarantineAccount(zlc);
} catch (ServiceException e) {
printer.printStackTrace("unable to upgrade quarantine account", e);
}
} finally {
LdapClient.closeContext(zlc);
}
}
use of com.zimbra.cs.ldap.ZLdapContext in project zm-mailbox by Zimbra.
the class BUG_58084 method doUpgrade.
@Override
void doUpgrade() throws ServiceException {
ZLdapContext zlc = LdapClient.getContext(LdapServerType.MASTER, LdapUsage.UPGRADE);
try {
doGlobalConfig(zlc);
doAllServers(zlc);
} finally {
LdapClient.closeContext(zlc);
}
}
Aggregations