diff --git a/lam/HISTORY b/lam/HISTORY index 91c5dcaf..fb1c936a 100644 --- a/lam/HISTORY +++ b/lam/HISTORY @@ -3,6 +3,7 @@ September 2013 4.3 - LAM Pro: -> PPolicy: check password history for password reuse -> Custom fields: read-only fields for admin interface and file upload for binary data + -> Custom scripts: support user self registration -> Password self reset: Samba 3 sync, identification with login attribute, Samba 4 support - fixed bugs: -> Custom fields: auto-adding object classes via profile editor fixed diff --git a/lam/docs/devel/upgrade.htm b/lam/docs/devel/upgrade.htm index f1749486..aa14ad4a 100644 --- a/lam/docs/devel/upgrade.htm +++ b/lam/docs/devel/upgrade.htm @@ -19,6 +19,7 @@ + @@ -39,6 +40,12 @@ This is a list of API changes for all LAM releases.

4.2 -> 4.3

Ldap::new_rand() was replaced by getRandomNumber() in lib/account.inc.
+Module interface:
+ +

4.1 -> 4.2

New meta HTML classes: htmlEqualHeight, htmlAccordion
diff --git a/lam/lib/baseModule.inc b/lam/lib/baseModule.inc index 51c944af..35e57bd5 100644 --- a/lam/lib/baseModule.inc +++ b/lam/lib/baseModule.inc @@ -1535,20 +1535,22 @@ abstract class baseModule { * * An error message should be printed if the function returns false. * + * @param boolean $newAccount is new account or existing one * @param array $attributes LDAP attributes of this entry * @return boolean true, if no problems occured */ - public function preModifySelfService($attributes) { + public function preModifySelfService($newAccount, $attributes) { return true; } /** * Allows the module to run commands after the LDAP entry is changed or created. * + * @param boolean $newAccount is new account or existing one * @param array $attributes LDAP attributes of this entry * @return boolean true, if no problems occured */ - public function postModifySelfService($attributes) { + public function postModifySelfService($newAccount, $attributes) { return true; }