updated documentation and check email on old accounts, too

This commit is contained in:
Roland Gruber 2005-09-04 17:45:30 +00:00
parent a0df65be5b
commit 4d769306f3
2 changed files with 22 additions and 7 deletions

View File

@ -2,7 +2,15 @@
Some notes on managing Kolab accounts with LAM:
1. Deleting accounts
1. Creating accounts
The mailbox server cannot be changed after the account has been saved. Please
make sure that the value is correct.
The email address ("Personal" page) must match your Kolab domain, otherwise the
account will not work.
2. Deleting accounts
If you want to cleanly delete accounts use the "Mark for deletion" button on the
Kolab subpage of an account. This will also remove the user's mailbox.
@ -10,7 +18,7 @@ Some notes on managing Kolab accounts with LAM:
then no cleanup actions are made.
2. Managing accounts with both LAM and Kolab Admin GUI
3. Managing accounts with both LAM and Kolab Admin GUI
The Kolab GUI has some restrictions that LAM does not have.
Please pay attention to the following restrictions:
@ -26,8 +34,15 @@ Some notes on managing Kolab accounts with LAM:
violation. This is caused by a bug in the Kolab GUI.
3. Installing LAM on the Kolab server
4. Adding a Kolab part to existing accounts
If you upgrade existing non-Kolab accounts please make sure that the account
has a Unix password.
5. Installing LAM on the Kolab server
You can install LAM in the directory "/kolab/var/kolab/www" which is
the root directory for Apache.
The PHP installation already includes all required packages.

View File

@ -300,10 +300,10 @@ class kolabUser extends baseModule {
elseif (isset($_SESSION[$this->base]->module['inetOrgPerson']) && !$_SESSION[$this->base]->module['inetOrgPerson']->attributes['userPassword'][0]) {
StatusMessage('ERROR', _("Please enter a user password on this page: %s"), '', array($_SESSION[$this->base]->module['inetOrgPerson']->get_alias()));
}
}
if (!$_SESSION[$this->base]->module['inetOrgPerson']->attributes['mail'][0]) {
StatusMessage('ERROR', _("Please enter an email address on this page: %s"), '', array($_SESSION[$this->base]->module['inetOrgPerson']->get_alias()));
}
}
$return = array();
// check if account is marked for deletion
if (isset($this->attributes['kolabDeleteflag'])) {
@ -621,10 +621,10 @@ class kolabUser extends baseModule {
* @return true, if account can be saved
*/
function module_complete() {
if (!$_SESSION[$this->base]->module['inetOrgPerson']->attributes['mail'][0]) return false;
if ($_SESSION[$this->base]->isNewAccount) {
if (isset($_SESSION[$this->base]->module['posixAccount']) && !$_SESSION[$this->base]->module['posixAccount']->attributes['userPassword'][0]) return false;
elseif (isset($_SESSION[$this->base]->module['inetOrgPerson']) && !$_SESSION[$this->base]->module['inetOrgPerson']->attributes['userPassword'][0]) return false;
if (!$_SESSION[$this->base]->module['inetOrgPerson']->attributes['mail'][0]) return false;
return $this->inputCorrect;
}
else {