errorHandling.php
Go to the documentation of this file.00001 <?php
00024 ?>
00025 <?php
00026
00027 $errItem = new ErrorHandlingItem("No such file or directory: '/var/log/ldap.log'");
00028 $errItem->setMsg(_("LDAP log file does not exist."));
00029 $errItem->setAdvice(_("Please be sure you have:
00030 <p>This line in your /etc/ldap/slapd.conf or /etc/openldap/slapd.conf:
00031 <pre>loglevel 256</pre></p>
00032 <p>and this line in your /etc/syslog.conf:
00033 <pre>local4.* /var/log/ldap.log</pre>
00034 </p>
00035 "));
00036 $errObj->add($errItem);
00037
00038 $errItem = new ErrorHandlingItem("No such file or directory: '/home/");
00039 $errItem->setMsg(_("The user directory does not exist and cannot be removed."));
00040 $errItem->setAdvice(_("Please do not remove user's files when deleting the user."));
00041 $errItem->setTraceBackDisplay(False);
00042 $errObj->add($errItem);
00043
00044 $errItem = new ErrorHandlingItem(": {'info': 'Password fails quality checking policy', 'desc': 'Constraint violation'}");
00045 $errItem->setMsg(_("Password fails quality checking policy."));
00046 $errItem->setAdvice(_("The password policy of your account doesn't allow you to modify your password, because your password doesn't met the passwords policies."));
00047 $errItem->setTraceBackDisplay(False);
00048 $errObj->add($errItem);
00049
00050 $errItem = new ErrorHandlingItem(": {'info': 'Password is too young to change', 'desc': 'Constraint violation'}");
00051 $errItem->setMsg(_("Your password is too young to change."));
00052 $errItem->setAdvice(_("The password policy of your account doesn't allow you to modify your password, because your password is too young to change."));
00053 $errItem->setTraceBackDisplay(False);
00054 $errObj->add($errItem);
00055
00056 $errItem = new ErrorHandlingItem(": {'info': 'Password is in history of old passwords', 'desc': 'Constraint violation'}");
00057 $errItem->setMsg(_("Password is in history of old passwords"));
00058 $errItem->setAdvice(_("The password policy of your account doesn't allow you to modify your password, because you already had this password previously."));
00059 $errItem->setTraceBackDisplay(False);
00060 $errObj->add($errItem);
00061
00062 $errItem = new ErrorHandlingItem(": {'info': 'Password is not being changed from existing value', 'desc': 'Constraint violation'}");
00063 $errItem->setMsg(_("Password is not being changed from existing value"));
00064 $errItem->setAdvice(_("The password policy of your account doesn't allow you to modify your password, because you already had this password previously."));
00065 $errItem->setTraceBackDisplay(False);
00066 $errObj->add($errItem);
00067
00068 ?>