diff --git a/lam-web/changelog/index.htm b/lam-web/changelog/index.htm index f6e7a7aa..e7ae911f 100644 --- a/lam-web/changelog/index.htm +++ b/lam-web/changelog/index.htm @@ -212,6 +212,44 @@ SourceForge

+ + + + + + + + + +
2.2.0.RC1 (2008-01-06)
+
    +
  • account lists:
  • +
      +
    • allow to switch sorting
    • +
    • added separate configuration page and store settings in cookies
    • +
    • list size can now be set individually for each account type on the list configuration page
    • +
    • new PDF buttons
    • +
    +
  • use suffix from account list as default for new accounts (patch 1823583)
  • +
  • Security: passwords in configuration files are now saved as hash values
  • +
  • improved design
  • +
  • style fixes for Internet Explorer users
  • +
  • Unix:
  • +
      +
    • allow to set host passwords (RFE 1754069)
    • +
    • allow to generate random passwords for users
    • +
    +
  • Samba 3 groups: Samba part is now optional
  • +
  • Personal: add object classes person and organizationalPerson for new accounts (RFE 1830033)
  • +
  • new LDAP schema check on tests page
  • +
  • LAM Pro:
  • +
      +
    • added possibility for deskside support to reset passwords at account list page
    • +
    • access levels (read only, change passwords, write access) for server profiles
    • +
    +
+

+ diff --git a/lam-web/developers/devel/FAQ.htm b/lam-web/developers/devel/FAQ.htm index 82ab6ea1..d5b344b5 100644 --- a/lam-web/developers/devel/FAQ.htm +++ b/lam-web/developers/devel/FAQ.htm @@ -3,6 +3,7 @@ Developer FAQ +
@@ -26,13 +27,13 @@ How can I make LDAP operations, where is the user name and password? A: LAM automatically reconnects to the LDAP server on every page load. You can -use $_SESSION['ldap']->server +use $_SESSION['ldap']->server() which is the LDAP server handle.
Be sure to include ldap.inc before (automatically included for account modules).

Example: ldap_search($_SESSION['ldap']->server$_SESSION['ldap']->server(), $suffix, $filter, $attributes)


diff --git a/lam-web/developers/devel/account_modules.htm b/lam-web/developers/devel/account_modules.htm index c2d4cea5..393161a9 100644 --- a/lam-web/developers/devel/account_modules.htm +++ b/lam-web/developers/devel/account_modules.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Account modules +

Account modules
diff --git a/lam-web/developers/devel/account_modules_lib.htm b/lam-web/developers/devel/account_modules_lib.htm index 7acfaa36..fe8fc887 100644 --- a/lam-web/developers/devel/account_modules_lib.htm +++ b/lam-web/developers/devel/account_modules_lib.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Account modules (modules.inc) +

Account modules (modules.inc)
diff --git a/lam-web/developers/devel/account_pages.htm b/lam-web/developers/devel/account_pages.htm index 1f92e812..c7506423 100644 --- a/lam-web/developers/devel/account_pages.htm +++ b/lam-web/developers/devel/account_pages.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Account pages +

Account pages
diff --git a/lam-web/developers/devel/account_types.htm b/lam-web/developers/devel/account_types.htm index 543623d0..2e836ae8 100644 --- a/lam-web/developers/devel/account_types.htm +++ b/lam-web/developers/devel/account_types.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Account types +

Account types
diff --git a/lam-web/developers/devel/account_types_lib.htm b/lam-web/developers/devel/account_types_lib.htm index 80d8c6cc..b166af2c 100644 --- a/lam-web/developers/devel/account_types_lib.htm +++ b/lam-web/developers/devel/account_types_lib.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Account types (types.inc) +

Account types (types.inc)
diff --git a/lam-web/developers/devel/base_module.htm b/lam-web/developers/devel/base_module.htm index 76b608f7..dc9c4f52 100644 --- a/lam-web/developers/devel/base_module.htm +++ b/lam-web/developers/devel/base_module.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Base module +

Base module
diff --git a/lam-web/developers/devel/base_type.htm b/lam-web/developers/devel/base_type.htm index b26755e0..4a1198bf 100644 --- a/lam-web/developers/devel/base_type.htm +++ b/lam-web/developers/devel/base_type.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Base type +

Base type
diff --git a/lam-web/developers/devel/config.htm b/lam-web/developers/devel/config.htm index 2fbc23d1..124bec70 100644 --- a/lam-web/developers/devel/config.htm +++ b/lam-web/developers/devel/config.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> config.inc +

config.inc

diff --git a/lam-web/developers/devel/config_files.htm b/lam-web/developers/devel/config_files.htm index 2af11634..37bc6219 100644 --- a/lam-web/developers/devel/config_files.htm +++ b/lam-web/developers/devel/config_files.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Configuration profiles +

Configuration profiles

diff --git a/lam-web/developers/devel/config_pages.htm b/lam-web/developers/devel/config_pages.htm index cd2a5e05..813245b6 100644 --- a/lam-web/developers/devel/config_pages.htm +++ b/lam-web/developers/devel/config_pages.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> LAM - Configuration pages +
diff --git a/lam-web/developers/devel/images/favicon.ico b/lam-web/developers/devel/images/favicon.ico new file mode 100644 index 00000000..1134d0c2 Binary files /dev/null and b/lam-web/developers/devel/images/favicon.ico differ diff --git a/lam-web/developers/devel/index.htm b/lam-web/developers/devel/index.htm index 5b8ba22b..9b1281a2 100644 --- a/lam-web/developers/devel/index.htm +++ b/lam-web/developers/devel/index.htm @@ -2,6 +2,7 @@ LAM development documentation +
@@ -93,22 +94,33 @@ browser


-

Howtos

- + + + + + + + +
+

Howtos

+ +
+

FAQ

+
+

Specifications

+ +
+

Upgrade notes

+

-

FAQ

-


-

-

Specifications

-
diff --git a/lam-web/developers/devel/ldap.htm b/lam-web/developers/devel/ldap.htm index 442d788a..33a72cf6 100644 --- a/lam-web/developers/devel/ldap.htm +++ b/lam-web/developers/devel/ldap.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> ldap.inc +

ldap.inc

diff --git a/lam-web/developers/devel/lists.htm b/lam-web/developers/devel/lists.htm index 348b51f0..5ced52ce 100644 --- a/lam-web/developers/devel/lists.htm +++ b/lam-web/developers/devel/lists.htm @@ -1,17 +1,15 @@ - - - - LAM - Account lists + + + + LAM - Account lists + - - + +

Account lists


-
Account lists
+
Account lists


@@ -21,17 +19,14 @@ list of found accounts which can be restricted by LDAP filters and the LDAP OU (Organizational Unit).

The list of LDAP attributes and thus table columns is taken from the -configuration profile (get_...listAttributes() +configuration profile (get_...listAttributes() in config.inc). Each account list has a separate list of attributes.
Only these attributes are given the LDAP search as attribute parameter.
There is also a predefined description list for the attributes in lists.inc. The user may use other values by setting them in the configuration profile.

-The number of accounts per page is limited in the configuration profile -(get_MaxListEntries() -in config.inc). There will be links at the beginning and end of the +The number of accounts per page is limited by a list option. There will be links at the beginning and end of the list if more accounts were found.

Several common helper functions for sorting and some page elements @@ -40,8 +35,7 @@ reside in lists.inc.

1. Getting accounts from LDAP

Each account list has its own LDAP suffix which is saved in the configuration profile. This is used as search base.
-The account modules provide an LDAP filter (get_ldap_filter() +The account modules provide an LDAP filter (get_ldap_filter() in modules.inc) to get only accounts of a special type.

This list can be further reduced if the user provides an additional @@ -78,8 +72,7 @@ clicking the row if Java Script is enabled.


4. Export to PDF

-The user can generate PDF files for the accounts. This is done by the createModulePDF() +The user can generate PDF files for the accounts. This is done by the createModulePDF() function from pdf.inc.


@@ -99,5 +92,4 @@ and redirects to account/edit.php for account modifying.



- - + \ No newline at end of file diff --git a/lam-web/developers/devel/login.htm b/lam-web/developers/devel/login.htm index bbf07168..2a03512a 100644 --- a/lam-web/developers/devel/login.htm +++ b/lam-web/developers/devel/login.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Login +

Login
diff --git a/lam-web/developers/devel/mod_accountPages.htm b/lam-web/developers/devel/mod_accountPages.htm index c63f15e1..8b88e057 100644 --- a/lam-web/developers/devel/mod_accountPages.htm +++ b/lam-web/developers/devel/mod_accountPages.htm @@ -2,6 +2,7 @@ Module HowTo - Account pages +

Module HowTo - Account pages
diff --git a/lam-web/developers/devel/mod_basics.htm b/lam-web/developers/devel/mod_basics.htm index 31103809..98efa65a 100644 --- a/lam-web/developers/devel/mod_basics.htm +++ b/lam-web/developers/devel/mod_basics.htm @@ -3,6 +3,7 @@ Module HowTo - Basic concepts +
diff --git a/lam-web/developers/devel/mod_config.htm b/lam-web/developers/devel/mod_config.htm index 45543701..d4e6c138 100644 --- a/lam-web/developers/devel/mod_config.htm +++ b/lam-web/developers/devel/mod_config.htm @@ -1,7 +1,9 @@ Module HowTo - Configuration options - + + +

Module HowTo - Configuration options
diff --git a/lam-web/developers/devel/mod_ext.htm b/lam-web/developers/devel/mod_ext.htm index a0a84cd7..c36276c9 100644 --- a/lam-web/developers/devel/mod_ext.htm +++ b/lam-web/developers/devel/mod_ext.htm @@ -3,6 +3,7 @@ Module HowTo - Defining required extensions +
diff --git a/lam-web/developers/devel/mod_general.htm b/lam-web/developers/devel/mod_general.htm index a3d71b4b..aa19ec2b 100644 --- a/lam-web/developers/devel/mod_general.htm +++ b/lam-web/developers/devel/mod_general.htm @@ -1,10 +1,10 @@ - - - Module HowTo - General module options - - - +Module HowTo - General module options + + + + +

Module HowTo - General module options

@@ -13,21 +13,18 @@

1. Account types

-LAM currently provides three account types: users, groups, hosts
+LAM currently provides three account types: users, groups, hosts
A module can manage one or more account types.

The types are specified with can_manage() or meta['account_types'].

-Example:
+Example:

Our ieee802Device module will be used only for host accounts.

- +
@@ -54,15 +50,13 @@ get_metaData() {

2. Base modules

In LDAP every entry needs exactly one structural -object class. Therefore all modules which provide a structural object class are marked +object class. Therefore all modules which provide a structural object class are marked as base module.

This is done with is_base_module() or meta['is_base'].

-Example:
+Example:

The inetOrgPerson module manages the structural object class "inetOrgPerson" and @@ -70,8 +64,7 @@ therefore is a base module.
If your module is not a base module you can skip the meta data for this, default is false.

-
    /**
@@ -41,8 +38,7 @@ get_metaData() {
        $return = array();
        // manages host accounts
    -    $return["account_types"] = array("host");
+    $return["account_types"] = array("host");
        return $return;
    }
+
@@ -96,9 +88,7 @@ get_metaData() {


3. Alias name

-The module name is very limited, therefore every module has an alias name. This alias name has no limitations and +The module name is very limited, therefore every module has an alias name. This alias name has no limitations and can be translated. It may contain special characters but make sure that it does not contain HTML special characters like "<".
The alias name can be the @@ -109,14 +99,12 @@ The alias name is specified with get_alias() or meta['alias'].

-Example:
+Example:

Our ieee802Device module will get the alias MAC address.

-
    /**
@@ -85,8 +78,7 @@ get_metaData() {
        $return = array();
        // base module
    -    $return["is_base"] = true;
+    $return["is_base"] = true;
        return $return;
    }
+
@@ -148,15 +135,13 @@ module are not structural.
The dependencies are specified with get_dependencies() or meta['dependencies'].

-Example:
+Example:

Our ieee802Device module depends on the account module (because it is the only structural module at this time).

-
    /**
@@ -130,8 +118,7 @@ get_metaData() {
        $return = array();
         // alias name
    -    $return["alias"] = _("MAC address");
+    $return["alias"] = _("MAC address");
        return $return;
    }
+
@@ -185,29 +169,25 @@ array('account'), 'conflicts' => array());
-The baseModule offers the $messages variable for this. It +The baseModule offers the $messages variable for this. It should be filled by a function called load_Messages().
The baseModule will automatically check if you have implemented this function and call it at construction time.

-Example:
+Example:

Now let our ieee802Device module define a message.

-
    /**
@@ -171,8 +156,7 @@ get_metaData() {
         // module dependencies
        $return['dependencies'] = array('depends' => -array('account'), 'conflicts' => array());
+array('account'), 'conflicts' => array());
        return $return;
    }
+
diff --git a/lam-web/developers/phpdoc/LDAP/Ldap.html b/lam-web/developers/phpdoc/LDAP/Ldap.html index f544336d..c066daca 100644 --- a/lam-web/developers/phpdoc/LDAP/Ldap.html +++ b/lam-web/developers/phpdoc/LDAP/Ldap.html @@ -26,8 +26,8 @@ -
    /**
    * This function fills the error message array with messages
    */
-    function load_Messages() {
+    function load_Messages() {
        $this->messages['mac'][0] = array('ERROR', 'MAC address is invalid!');  // third array value is set dynamically
@@ -231,8 +211,7 @@ smbldap-tools) also create accounts and the spelling is differnt.
The ieee802Device module manages one object class.

- +
diff --git a/lam-web/developers/phpdoc/Help/_templates---help.php.html b/lam-web/developers/phpdoc/Help/_templates---help.php.html index ea88c4e9..4feab88e 100644 --- a/lam-web/developers/phpdoc/Help/_templates---help.php.html +++ b/lam-web/developers/phpdoc/Help/_templates---help.php.html @@ -26,8 +26,8 @@
    /**
@@ -271,8 +250,7 @@ the "cn" attribute. This attribute is also known under the alias This way the module will never see attributes called "commonName" because LAM renames them as soon as the LDAP entry is loaded.

- +
    /**
@@ -300,5 +278,50 @@ get_metaData() {

- - +

8. Icon
+

+You can specify a icon for you module. It will be displayed on the +account pages and other module specific places (e.g. file upload).
+The icons must be 32x32 pixels in size. The location is relative to the graphics directory.
+ +
+ +Example:
+ +
+ +The posixGroup module uses the "tux.png" from the graphics directory.
+ +
+ + + + + + + + +
    /**
+    * Returns meta data that is interpreted by parent +class
+    *
+    * @return array array with meta data
+    */
+    function +get_metaData() {
+        $return = array();
        // icon
+        $return['icon'] = 'tux.png';
+        return $return;
+    }
+
+ +
+ +
+ + +

+ + + + \ No newline at end of file diff --git a/lam-web/developers/devel/mod_help.htm b/lam-web/developers/devel/mod_help.htm index 42efc69f..cb0ce433 100644 --- a/lam-web/developers/devel/mod_help.htm +++ b/lam-web/developers/devel/mod_help.htm @@ -3,6 +3,7 @@ Module HowTo - Help entries +
diff --git a/lam-web/developers/devel/mod_index.htm b/lam-web/developers/devel/mod_index.htm index 64958a61..51fa04af 100644 --- a/lam-web/developers/devel/mod_index.htm +++ b/lam-web/developers/devel/mod_index.htm @@ -3,6 +3,7 @@ LAM module HowTo +
diff --git a/lam-web/developers/devel/mod_pdf.htm b/lam-web/developers/devel/mod_pdf.htm index 5f2e5d0a..fb3dfae5 100644 --- a/lam-web/developers/devel/mod_pdf.htm +++ b/lam-web/developers/devel/mod_pdf.htm @@ -3,6 +3,7 @@ Module HowTo - PDF output +
diff --git a/lam-web/developers/devel/mod_profiles.htm b/lam-web/developers/devel/mod_profiles.htm index 96ca3962..1034b1a3 100644 --- a/lam-web/developers/devel/mod_profiles.htm +++ b/lam-web/developers/devel/mod_profiles.htm @@ -2,6 +2,7 @@ Module HowTo - Account profiles +
diff --git a/lam-web/developers/devel/mod_rdn.htm b/lam-web/developers/devel/mod_rdn.htm index e5986e8e..35861732 100644 --- a/lam-web/developers/devel/mod_rdn.htm +++ b/lam-web/developers/devel/mod_rdn.htm @@ -3,6 +3,7 @@ Module HowTo - Defining the RDN +
diff --git a/lam-web/developers/devel/mod_upload.htm b/lam-web/developers/devel/mod_upload.htm index deb85f36..4c03252f 100644 --- a/lam-web/developers/devel/mod_upload.htm +++ b/lam-web/developers/devel/mod_upload.htm @@ -3,6 +3,7 @@ Module HowTo - File upload +
diff --git a/lam-web/developers/devel/mod_upload2.htm b/lam-web/developers/devel/mod_upload2.htm index 6e253c6a..ab706437 100644 --- a/lam-web/developers/devel/mod_upload2.htm +++ b/lam-web/developers/devel/mod_upload2.htm @@ -3,6 +3,7 @@ Module HowTo - Advanced upload options +
diff --git a/lam-web/developers/devel/modules-specification.htm b/lam-web/developers/devel/modules-specification.htm index b69c19ef..a618232b 100644 --- a/lam-web/developers/devel/modules-specification.htm +++ b/lam-web/developers/devel/modules-specification.htm @@ -5,19 +5,21 @@ + + +

This document describes the module interface for LDAP Account Manager

diff --git a/lam-web/developers/devel/other_libs.htm b/lam-web/developers/devel/other_libs.htm index 8838bc59..1ff54e1a 100644 --- a/lam-web/developers/devel/other_libs.htm +++ b/lam-web/developers/devel/other_libs.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Other libraries +

Other libraries
diff --git a/lam-web/developers/devel/ou-edit.htm b/lam-web/developers/devel/ou-edit.htm index 2b07faaf..62542e07 100644 --- a/lam-web/developers/devel/ou-edit.htm +++ b/lam-web/developers/devel/ou-edit.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> OU editor +

OU editor
diff --git a/lam-web/developers/devel/pdf_editor.htm b/lam-web/developers/devel/pdf_editor.htm index 85674090..b4758e64 100644 --- a/lam-web/developers/devel/pdf_editor.htm +++ b/lam-web/developers/devel/pdf_editor.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> PDF editor +

PDF editor
diff --git a/lam-web/developers/devel/pdf_libs.htm b/lam-web/developers/devel/pdf_libs.htm index 55ff0403..20135493 100644 --- a/lam-web/developers/devel/pdf_libs.htm +++ b/lam-web/developers/devel/pdf_libs.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> PDF (pdf.inc, pdfstruct.inc) +

PDF (pdf.inc, pdfstruct.inc)
diff --git a/lam-web/developers/devel/pdf_profiles.htm b/lam-web/developers/devel/pdf_profiles.htm index 0393d705..8d9c4f9a 100644 --- a/lam-web/developers/devel/pdf_profiles.htm +++ b/lam-web/developers/devel/pdf_profiles.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> PDF templates +

PDF templates
diff --git a/lam-web/developers/devel/profile_editor.htm b/lam-web/developers/devel/profile_editor.htm index c75094dd..afbad39f 100644 --- a/lam-web/developers/devel/profile_editor.htm +++ b/lam-web/developers/devel/profile_editor.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Profile editor +

Profile editor
diff --git a/lam-web/developers/devel/profile_files.htm b/lam-web/developers/devel/profile_files.htm index 22804b83..41825e89 100644 --- a/lam-web/developers/devel/profile_files.htm +++ b/lam-web/developers/devel/profile_files.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Account profiles +

Account profiles

diff --git a/lam-web/developers/devel/profiles.htm b/lam-web/developers/devel/profiles.htm index 03d2e04b..42eac39b 100644 --- a/lam-web/developers/devel/profiles.htm +++ b/lam-web/developers/devel/profiles.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Account profiles +

profiles.inc

diff --git a/lam-web/developers/devel/samba_domains.htm b/lam-web/developers/devel/samba_domains.htm index 54c84c8e..58cdc66e 100644 --- a/lam-web/developers/devel/samba_domains.htm +++ b/lam-web/developers/devel/samba_domains.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Samba 3 domains +

Samba 3 domains
diff --git a/lam-web/developers/devel/tree_schema.htm b/lam-web/developers/devel/tree_schema.htm index 16e64b5c..a4cebc88 100644 --- a/lam-web/developers/devel/tree_schema.htm +++ b/lam-web/developers/devel/tree_schema.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> Tree view and schema browser +

Tree view and schema browser
diff --git a/lam-web/developers/devel/type_basics.htm b/lam-web/developers/devel/type_basics.htm index 8e6a351b..35b155c7 100644 --- a/lam-web/developers/devel/type_basics.htm +++ b/lam-web/developers/devel/type_basics.htm @@ -3,6 +3,7 @@ Type HowTo - Basic concepts +
diff --git a/lam-web/developers/devel/type_css.htm b/lam-web/developers/devel/type_css.htm index b70c071a..b14b2517 100644 --- a/lam-web/developers/devel/type_css.htm +++ b/lam-web/developers/devel/type_css.htm @@ -3,6 +3,7 @@ Type HowTo - CSS file +
diff --git a/lam-web/developers/devel/type_general.htm b/lam-web/developers/devel/type_general.htm index 8691ea74..73f8774f 100644 --- a/lam-web/developers/devel/type_general.htm +++ b/lam-web/developers/devel/type_general.htm @@ -3,6 +3,7 @@ Type HowTo - General type options +
diff --git a/lam-web/developers/devel/type_icon.htm b/lam-web/developers/devel/type_icon.htm index 66a43937..a614b4d0 100644 --- a/lam-web/developers/devel/type_icon.htm +++ b/lam-web/developers/devel/type_icon.htm @@ -3,6 +3,7 @@ Type HowTo - Icon +
diff --git a/lam-web/developers/devel/type_index.htm b/lam-web/developers/devel/type_index.htm index 9e4618b9..efe3d204 100644 --- a/lam-web/developers/devel/type_index.htm +++ b/lam-web/developers/devel/type_index.htm @@ -3,6 +3,7 @@ LAM type HowTo +
diff --git a/lam-web/developers/devel/type_list.htm b/lam-web/developers/devel/type_list.htm index 832752d7..e3a861f0 100644 --- a/lam-web/developers/devel/type_list.htm +++ b/lam-web/developers/devel/type_list.htm @@ -3,6 +3,7 @@ Type HowTo - Custom list view +
diff --git a/lam-web/developers/devel/type_profile.htm b/lam-web/developers/devel/type_profile.htm index d1545ab0..a0daf8a5 100644 --- a/lam-web/developers/devel/type_profile.htm +++ b/lam-web/developers/devel/type_profile.htm @@ -3,6 +3,7 @@ Type HowTo - Default profile +
diff --git a/lam-web/developers/devel/types-specification.htm b/lam-web/developers/devel/types-specification.htm index 13fceee2..e6f8658d 100644 --- a/lam-web/developers/devel/types-specification.htm +++ b/lam-web/developers/devel/types-specification.htm @@ -7,19 +7,20 @@ +

This document describes the type diff --git a/lam-web/developers/devel/upgrade.htm b/lam-web/developers/devel/upgrade.htm new file mode 100644 index 00000000..dc84d995 --- /dev/null +++ b/lam-web/developers/devel/upgrade.htm @@ -0,0 +1,179 @@ + +Upgrade notes + + + + + + + + + + + + + + + +
+

Upgrade notes

+ + +

2.1.0 -> 2.2.0

+

Account lists

+Account lists now support to define tools. These are displayed as linked images like the edit and delete links in the list.
+ +Overwrite lamList::getAdditionalTools() to use this feature.
+ +
+ +The definition of account list options changed. The function lamList::getAdditionalTools() is no longer available. Use these functions instead: lamList::listGetAllConfigOptions() and lamList::listConfigurationChanged().
+ +All options are now saved in cookies for one year.
+ +
+

Base module

+ + +The baseModule class has a new protected option: $autoAddObjectClasses You can set it to false if you do not want that your module's object classes are added when creating or loading an account.
+ +
+ +Account modules can now have icons. See baseModule->getIcon().
+ + +
+

Constructors

+LAM now uses the PHP5 syntax for constructors: __construct()
+
+
+

Extended security model

+Each server profile now defines an access level.
+
+Currently these are:
+
    +
  • write access
  • +
  • password changes
  • +
  • read access
    +
  • +
+ Please check your code and prohibit any actions which do not fit the current access level.
+There are two new functions in security.inc: checkIfWriteAccessIsAllowed() and checkIfPasswordChangeIsAllowed()
+Only LAM Pro allows to change the access level from write access to a smaller level.
+
+
+ + +

2.0.0 -> 2.1.0

+ +Style changes:
+ +
    + +
  • "fieldset.<type>edit fieldset" and "fieldset.<type>edit fieldset fieldset" were removed.
  • +
  • "table.<type>list input" changed to "table.<type>list input,select"
  • +
+ +baseModule:
+ +  The class variable $base is no longer visible in child classes. Please use $this->getAccountContainer() to access the accountContainer object.
+ +
+ +Several other class variables in accountContainer etc. are now private. Use the new access methods.
+ +
+ +
+ +

1.3.0 -> 2.0.0

+ +LAM is now PHP5 only. Several variables are now private and need to be accessed via functions.
+ +
+ +
+ +

1.2.0 -> 1.3.0

+ +New lamList function:
+ +
    + +
  • listPrintTableCellContent(): +This function allows you to control how the LDAP attributes are +displayed in the table. This can be used to display links or binary +data.
  • +
  • listPrintAdditionalOptions(): +If you want to display additional conrols for a list please use this +function. The controls will be placed under the account table.
    +
  • +
+ +No more lamdaemon commands via delete_attributes() and save_attributes() in account modules.
+ +Please use these new functions to call lamdaemon directly:
+ +
    + +
  • preModifyActions()
  • +
  • postModifyActions()
  • +
  • preDeleteActions()
  • +
  • postDeleteActions()
  • +
+ +
+ +

1.1.x -> 1.2.0

+ +API changes:
+ +
    + +
  • removed get_configDescription() from module interface
  • +
+ +
+ +

1.0.4 -> 1.1.0

+ +API changes:
+ +
    + +
  • removed $post parameters from module functions (delete_attributes(), process_...(), display_html_...()). Use $_POST instead.
  • +
  • process_...() +functions: returned messages are no longer grouped (e.g. return: +array(array('INFO', 'headline', 'text'), array('INFO', 'headline2', +'text2')))
  • +
+ +
+ +

1.0.0 -> 1.0.2

+ + + +New module functions:
+ +
    + +
  • getRequiredExtensions: Allows to define required PHP extensions
  • +
  • getManagedObjectClasses: Definition of managed object classes for this module
  • +
  • getLDAPAliases: list of LDAP alias names which are replaced by LAM
  • +
  • getManagedAttributes: list of LDAP attributes which are managed by this module
  • +
+ +The LDAP attributes are no longer loaded by reading the LDAP schema. If +your module does not implement the load_attributes() function then you +have to use getManagedAttributes() or the meta data to specify them.
+ +
+ +The class variable "triggered_messages" in baseModule was removed.
+ + + + +
+ \ No newline at end of file diff --git a/lam-web/developers/devel/upload.htm b/lam-web/developers/devel/upload.htm index 4bf2b0b6..95be92be 100644 --- a/lam-web/developers/devel/upload.htm +++ b/lam-web/developers/devel/upload.htm @@ -5,6 +5,7 @@ http-equiv="content-type"> File upload +

File upload
diff --git a/lam-web/developers/phpdoc/Help/_help---help.inc.html b/lam-web/developers/phpdoc/Help/_help---help.inc.html index 0e29c896..e2d1bc77 100644 --- a/lam-web/developers/phpdoc/Help/_help---help.inc.html +++ b/lam-web/developers/phpdoc/Help/_help---help.inc.html @@ -26,8 +26,8 @@

-

Variables

- -

Methods

@@ -130,35 +122,6 @@ Source Location: /lib/ldap.inc

Ldap manages connection to LDAP and includes several helper functions.



[ Top ]

-
- -

Class Variables

-
- -

-

$supports_unix_hosts =  false

-

[line 74]

- Host attribute in inetOrgPerson



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-


@@ -166,12 +129,12 @@ Ldap manages connection to LDAP and includes several helper functions.


- -

constructor Ldap [line 82]

+ +

constructor __construct [line 73]

- Ldap Ldap( + Ldap __construct( object $config)
@@ -194,7 +157,7 @@ $config)
-

method close [line 144]

+

method close [line 125]

@@ -210,7 +173,7 @@ $config)
-

method cmp_array [line 440]

+

method cmp_array [line 314]

@@ -252,7 +215,7 @@ $b)
-

method connect [line 98]

+

method connect [line 89]

@@ -294,7 +257,7 @@ $passwd)
-

method decrypt [line 381]

+

method decrypt [line 252]

@@ -330,7 +293,7 @@ $data)
-

method decrypt_login [line 417]

+

method decrypt_login [line 291]

@@ -355,7 +318,7 @@ $data)
-

method destroy [line 426]

+

method destroy [line 300]

diff --git a/lam-web/developers/phpdoc/configuration/LAMCfgMain.html b/lam-web/developers/phpdoc/configuration/LAMCfgMain.html index 82f5a2c2..9f64ac6d 100644 --- a/lam-web/developers/phpdoc/configuration/LAMCfgMain.html +++ b/lam-web/developers/phpdoc/configuration/LAMCfgMain.html @@ -26,8 +26,8 @@ @@ -113,8 +112,10 @@ Source Location: /lib/config.inc

@@ -134,7 +135,7 @@ Source Location: /lib/config.inc

Class Details

-[line 843]
+[line 882]
This class manages config.cfg.



[ Top ]

@@ -145,7 +146,7 @@ This class manages config.cfg.



$allowedHosts =

-

[line 861]

+

[line 900]

list of hosts which may access LAM



Tags:

@@ -169,7 +170,7 @@ This class manages config.cfg.



$default =

-

[line 846]

+

[line 885]

Default profile



Tags:

@@ -193,7 +194,7 @@ This class manages config.cfg.



$logDestination =

-

[line 858]

+

[line 897]

log destination ("SYSLOG":syslog, "/...":file, "NONE":none)



Tags:

@@ -217,7 +218,7 @@ This class manages config.cfg.



$logLevel =

-

[line 855]

+

[line 894]

log level



Tags:

@@ -226,30 +227,6 @@ This class manages config.cfg.



@@ -371,7 +334,7 @@ $data)
-

method encrypt [line 358]

+

method encrypt [line 226]

diff --git a/lam-web/developers/phpdoc/classtrees_tools.html b/lam-web/developers/phpdoc/classtrees_tools.html index 04e97cf0..d77e1689 100644 --- a/lam-web/developers/phpdoc/classtrees_tools.html +++ b/lam-web/developers/phpdoc/classtrees_tools.html @@ -26,8 +26,8 @@ diff --git a/lam-web/developers/phpdoc/classtrees_types.html b/lam-web/developers/phpdoc/classtrees_types.html index f601ab88..5137075f 100644 --- a/lam-web/developers/phpdoc/classtrees_types.html +++ b/lam-web/developers/phpdoc/classtrees_types.html @@ -26,8 +26,8 @@
diff --git a/lam-web/developers/phpdoc/classtrees_tests.html b/lam-web/developers/phpdoc/classtrees_tests.html index 7e767030..06a7c0bb 100644 --- a/lam-web/developers/phpdoc/classtrees_tests.html +++ b/lam-web/developers/phpdoc/classtrees_tests.html @@ -26,8 +26,8 @@
@@ -407,7 +370,7 @@ $data)
-

method encrypt_login [line 406]

+

method encrypt_login [line 280]

diff --git a/lam-web/developers/phpdoc/classtrees_selfService.html b/lam-web/developers/phpdoc/classtrees_selfService.html index d3d2be4b..63c4726e 100644 --- a/lam-web/developers/phpdoc/classtrees_selfService.html +++ b/lam-web/developers/phpdoc/classtrees_selfService.html @@ -26,8 +26,8 @@
diff --git a/lam-web/developers/phpdoc/classtrees_profiles.html b/lam-web/developers/phpdoc/classtrees_profiles.html index 5fa4c5f2..7b86546b 100644 --- a/lam-web/developers/phpdoc/classtrees_profiles.html +++ b/lam-web/developers/phpdoc/classtrees_profiles.html @@ -26,8 +26,8 @@
@@ -440,7 +403,7 @@ $password)
-

method new_rand [line 344]

+

method new_rand [line 212]

diff --git a/lam-web/developers/phpdoc/PDF/_lib---lamPDF.inc.html b/lam-web/developers/phpdoc/PDF/_lib---lamPDF.inc.html new file mode 100644 index 00000000..63bfcd9e --- /dev/null +++ b/lam-web/developers/phpdoc/PDF/_lib---lamPDF.inc.html @@ -0,0 +1,128 @@ + + +Docs for page lamPDF.inc + + + + +
diff --git a/lam-web/developers/phpdoc/PDF/_lib---fpdf.php.html b/lam-web/developers/phpdoc/PDF/_lib---fpdf.php.html index 02da3250..cf9425fe 100644 --- a/lam-web/developers/phpdoc/PDF/_lib---fpdf.php.html +++ b/lam-web/developers/phpdoc/PDF/_lib---fpdf.php.html @@ -26,8 +26,8 @@
@@ -465,7 +428,7 @@ $password)
-

method search_units [line 154]

+

method search_units [line 135]

diff --git a/lam-web/developers/phpdoc/PDF/_lib---font---verai.php.html b/lam-web/developers/phpdoc/PDF/_lib---font---verai.php.html index 39d3d2f3..ce65e308 100644 --- a/lam-web/developers/phpdoc/PDF/_lib---font---verai.php.html +++ b/lam-web/developers/phpdoc/PDF/_lib---font---verai.php.html @@ -26,8 +26,8 @@
diff --git a/lam-web/developers/phpdoc/PDF/_lib---font---verabi.php.html b/lam-web/developers/phpdoc/PDF/_lib---font---verabi.php.html index 44948fa9..dc77579b 100644 --- a/lam-web/developers/phpdoc/PDF/_lib---font---verabi.php.html +++ b/lam-web/developers/phpdoc/PDF/_lib---font---verabi.php.html @@ -26,8 +26,8 @@
@@ -501,7 +464,7 @@ $suffix)
-

method server [line 297]

+

method server [line 166]

diff --git a/lam-web/developers/phpdoc/PDF/_lib---font---verab.php.html b/lam-web/developers/phpdoc/PDF/_lib---font---verab.php.html index ec978b9b..fd99dd2e 100644 --- a/lam-web/developers/phpdoc/PDF/_lib---font---verab.php.html +++ b/lam-web/developers/phpdoc/PDF/_lib---font---verab.php.html @@ -26,8 +26,8 @@
diff --git a/lam-web/developers/phpdoc/PDF/_lib---font---vera.php.html b/lam-web/developers/phpdoc/PDF/_lib---font---vera.php.html index 9ef8097f..0650842a 100644 --- a/lam-web/developers/phpdoc/PDF/_lib---font---vera.php.html +++ b/lam-web/developers/phpdoc/PDF/_lib---font---vera.php.html @@ -26,8 +26,8 @@
@@ -522,43 +485,11 @@ $suffix)

-
[ Top ]
- -
- -

method updateCapabilities [line 284]

-
-
-
- void updateCapabilities( -) -
-

- - Updates the capabilities values (var $supports_*)



- - -
[ Top ]
-
-
- -

method updateClasses [line 181]

-
-
-
- void updateClasses( -) -
-

- - Reads the array of objectClasses from the LDAP server



- -
[ Top ]

-

method __sleep [line 307]

+

method __sleep [line 176]

diff --git a/lam-web/developers/phpdoc/PDF/UFPDF.html b/lam-web/developers/phpdoc/PDF/UFPDF.html index c9f6c17c..ed4cbc31 100644 --- a/lam-web/developers/phpdoc/PDF/UFPDF.html +++ b/lam-web/developers/phpdoc/PDF/UFPDF.html @@ -26,8 +26,8 @@
diff --git a/lam-web/developers/phpdoc/PDF/FPDF.html b/lam-web/developers/phpdoc/PDF/FPDF.html index 8c838efc..475fca6b 100644 --- a/lam-web/developers/phpdoc/PDF/FPDF.html +++ b/lam-web/developers/phpdoc/PDF/FPDF.html @@ -26,8 +26,8 @@
@@ -574,7 +505,7 @@ $suffix)
-

method __wakeup [line 315]

+

method __wakeup [line 183]

diff --git a/lam-web/developers/phpdoc/LDAP/_lib---ldap.inc.html b/lam-web/developers/phpdoc/LDAP/_lib---ldap.inc.html index 11ef0322..4cc27fdd 100644 --- a/lam-web/developers/phpdoc/LDAP/_lib---ldap.inc.html +++ b/lam-web/developers/phpdoc/LDAP/_lib---ldap.inc.html @@ -26,8 +26,8 @@
@@ -593,7 +524,7 @@ $suffix)

- Documentation generated on Sun, 04 Nov 2007 12:10:54 +0100 by phpDocumentor 1.4.0 + Documentation generated on Sun, 06 Jan 2008 18:59:12 +0100 by phpDocumentor 1.4.0
+ + + + + + + + +
PDF
+ + + [ class tree: PDF ] + [ index: PDF ] + [ all elements ] +
+ + + + + + +
+
+ +

Procedural File: lamPDF.inc

+Source Location: /lib/lamPDF.inc

+ +
+
+ +
+

Classes:

+
lamPDF
+
Creates a LAM information page in PDF format.
+


+ +

Page Details:

+LDAP Account Manager PDF printing library. It consists of lamPDF class, the createModulePDF() function that may be called by other pages and furthermore some helper functions.



+

Tags:

+
+ + + + +
author:  Michael Duergner
+
+

+

+

+
+ +
+
+ Documentation generated on Sun, 06 Jan 2008 18:59:12 +0100 by phpDocumentor 1.4.0 +
+
+
+ + + diff --git a/lam-web/developers/phpdoc/PDF/_lib---pdf.inc.html b/lam-web/developers/phpdoc/PDF/_lib---pdf.inc.html index baa21296..59f51c3d 100644 --- a/lam-web/developers/phpdoc/PDF/_lib---pdf.inc.html +++ b/lam-web/developers/phpdoc/PDF/_lib---pdf.inc.html @@ -26,8 +26,8 @@

Methods

access:  public
- - -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$password =

-

[line 849]

- Password to change config.cfg



-

Tags:

-
- - - - -
access:  public

@@ -265,7 +242,7 @@ This class manages config.cfg.



$sessionTimeout =

-

[line 852]

+

[line 891]

Time of inactivity before session times out (minutes)



Tags:

@@ -294,12 +271,12 @@ This class manages config.cfg.




- -

constructor LAMCfgMain [line 870]

+ +

constructor __construct [line 909]

- LAMCfgMain LAMCfgMain( + LAMCfgMain __construct( )

@@ -309,9 +286,48 @@ This class manages config.cfg.



[ Top ]
+
+ +

method checkPassword [line 1014]

+
+
+
+ boolean checkPassword( +String +$password) +
+

+ + Checks if the given password matches.



+

Tags:

+
+ + + + + + + +
return:  true, if password matches
access:  public
+
+

+ + +

Parameters:

+
+ + + + + + +
String  $password  password
+

+
[ Top ]
+

-

method save [line 911]

+

method save [line 950]

diff --git a/lam-web/developers/phpdoc/configuration/LAMConfig.html b/lam-web/developers/phpdoc/configuration/LAMConfig.html index 62972bfc..20d4f06c 100644 --- a/lam-web/developers/phpdoc/configuration/LAMConfig.html +++ b/lam-web/developers/phpdoc/configuration/LAMConfig.html @@ -26,8 +26,8 @@ + -
@@ -332,6 +348,42 @@ This class manages config.cfg.





+
[ Top ]
+ +
+ +

method setPassword [line 1000]

+
+
+
+ void setPassword( +String +$password) +
+

+ + Sets a new config password.



+

Tags:

+
+ + + + +
access:  public
+
+

+ + +

Parameters:

+
+ + + + + + +
String  $password  new password
+

[ Top ]

@@ -339,7 +391,7 @@ This class manages config.cfg.




- Documentation generated on Sun, 04 Nov 2007 12:10:41 +0100 by phpDocumentor 1.4.0 + Documentation generated on Sun, 06 Jan 2008 18:58:55 +0100 by phpDocumentor 1.4.0
-

Variables

+

Constants

Methods