$errObj->add($errItem); $errItem = new ErrorHandlingItem(": Invalid port range"); $errItem->setMsg(_T("Invalid port range", "shorewall")); $errItem->setAdvice(_T("Ports should be between 0 and 65535 and the left side port must be lower that the right side port.", "shorewall")); $errItem->setLevel(1); $errItem->setTraceBackDisplay(False); $errObj->add($errItem); $errItem = new ErrorHandlingItem(": Invalid IP"); $errItem->setMsg(_T("Invalid IP", "shorewall")); $errItem->setAdvice(_T("The IP address is not correct.", "shorewall")); $errItem->setLevel(1); $errItem->setTraceBackDisplay(False); $errObj->add($errItem); $errItem = new ErrorHandlingItem(": Invalid IP range"); $errItem->setMsg(_T("Invalid IP range", "shorewall")); $errItem->setAdvice(_T("The IP range is not correct.", "shorewall")); $errItem->setLevel(1); $errItem->setTraceBackDisplay(False); $errObj->add($errItem); $errItem = new ErrorHandlingItem(": Invalid network"); $errItem->setMsg(_T("Invalid network", "shorewall")); $errItem->setAdvice(_T("The network is not correct.", "shorewall")); $errItem->setLevel(1); $errItem->setTraceBackDisplay(False); $errObj->add($errItem); $errItem = new ErrorHandlingItem(": Invalid network masq"); $errItem->setMsg(_T("Invalid network masq", "shorewall")); $errItem->setAdvice(_T("The network masq is not correct.", "shorewall")); $errItem->setLevel(1); $errItem->setTraceBackDisplay(False); $errObj->add($errItem);
* the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * MMC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with MMC; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ $errItem = new ErrorHandlingItem("No such file or directory: .*ldap.log'"); $errItem->setMsg(_("LDAP log file does not exist.")); $errItem->setAdvice(_("Please be sure you have:\n <p>This line in your /etc/ldap/slapd.conf or /etc/openldap/slapd.conf:\n <pre>loglevel 256</pre></p>\n <p>and this line in your /etc/syslog.conf:\n <pre>local4.* /var/log/ldap.log (or /var/log/ldap/ldap.log)</pre>\n </p>\n ")); $errItem->setLevel(0); $errItem->setTraceBackDisplay(False); $errObj->add($errItem); $errItem = new ErrorHandlingItem("No such file or directory: '/home/"); $errItem->setMsg(_("The user directory does not exist and cannot be removed.")); $errItem->setAdvice(_("Please do not remove user's files when deleting the user.")); $errItem->setTraceBackDisplay(False); $errObj->add($errItem); $errItem = new ErrorHandlingItem(": \\/.*already exists."); $errItem->setMsg(_("The user home directory already exists.")); $errItem->setAdvice(_("Set the home directory in a different location or force the use of the existing directory (in expert mode).")); $errItem->setTraceBackDisplay(False); $errObj->add($errItem); $errItem = new ErrorHandlingItem(": {'info': 'Password is too young to change', 'desc': 'Constraint violation'}"); $errItem->setMsg(_("Your password is too young to change.")); $errItem->setAdvice(_("The password policy of your account doesn't allow you to modify your password, because your password is too young to change."));