diff --git a/pym/server/server.py b/pym/server/server.py index 9f2a311..79400e1 100644 --- a/pym/server/server.py +++ b/pym/server/server.py @@ -113,7 +113,7 @@ class Server(MethodsInterface): if path.exists(cp_path): os.unlink(cp_path) except OSError: - raise ServerError(_("Failed to clear server config")) + raise ServerError(_("Failed to clear server configuration")) cp = ConfigParserCaseSensLocked(cp_path) try: diff --git a/pym/server/variables/server.py b/pym/server/variables/server.py index 8e94627..6c05eb3 100644 --- a/pym/server/variables/server.py +++ b/pym/server/variables/server.py @@ -32,8 +32,8 @@ class VariableClServerName(Variable): def check(self, value): if value == 'unix' and self.Get('sr_ldap_set') != 'on': raise VariableError( - _("For Unix Accounts settings required " - "the configured LDAP server")) + _("To manage Unix accounts, a configured LDAP server " + "is required")) class VariableClServerEnvPath(Variable):