Update informations
To let connected user update its own information, enable this feature:
$use_updateinfos = true;
Warning
This requires to enable authentication, see authentication configuration page.
Items
The list of items that are available for modification is configured in:
$update_items = array('firstname', 'lastname', 'mail', 'phone', 'mobile');
Tip
Be sure not to put the item corresponding to the RDN of the entry, as this will raise an error.
Macros
Some fields can be automatically updated:
$update_items_macros = array('fullname' => '%firstname% %lastname%');
Photo
To let user update or delete its photo:
$update_photo = false;
To configure maximum file size:
$update_photo_maxsize = 500000;
Depending on where is stored the photo, adjust these settings:
$update_photo_ldap = true;
$update_photo_directory = false;
Tip
The parameters for photo storage are available in the photos section.