Hi Bernd,
you wrote in Debian bug #704069 (https://bugs.debian.org/704069):
The davical authentication hook for ldap makes use of drivers_ldap.php
which is also responsible to sync users from ldap to davical. While
doing so the timestamp from 'modifyTimestamp' of the ldap entry should
be used for the internal attribute 'modified'. Unfortunately the
example configuration in /etc/davical/config.php uses 'mapping_field'
= array( ..., updated = 'modifyTimestamp', ...) and not 'modified'
which leads to warnings in apache logs and propably the corresponding
field not being updated
The file you're talking about is config/example-config.php in git and
currently shipped in the davical Debian package as
/usr/share/doc/davical/examples/davical-conf.php/example-config.php.gz
I've been searching wiki.davical.org a bit, and it seems our LDAP
documentation is a mess. If you're in a position to help us clean that
up, correct misunderstandings and consolidate duplicate information in
one place that would greatly be appreciated!
http://wiki.davical.org/w/Configuration/Authentication_Settings/LDAP_groups
documents 'updated' for the group_mapping_filed array
http://wiki.davical.org/index.php/Synology_DS211
documents 'modified' for mapping_field, and 'updated' for
group_mapping_field
http://wiki.davical.org/w/Configuration_settings
documents 'updated' for mapping_field
http://wiki.davical.org/w/Configuration/Authentication_Settings
documents 'updated' for both mapping_field and group_mapping_field
http://wiki.davical.org/index.php/Configuration/Authentication_Settings/LDAP_Examples
documents 'modified' for mapping_field, and has an interesting comment
at the end of the format_updated array:
'S' = array(12,2)), // map LDAP modifyTimestamp field to SQL updated
field
http://wiki.davical.org/w/Configuration/Authentication_Settings
has an explanation of the parameters:
mapping_fieldAn array of DAViCal field names vs. their LDAP mappings
group_mapping_field An array of DAViCal field names vs. their LDAP
mappings
format_updated An array, keyed on Y, m, d, H, M and S with the
values being arrays of (start,length) for
substring operations on the DAViCal 'updated'
field sourced from LDAP.
Now, I wonder if that field is called 'modified' or 'updated' in
DAViCal, or perhaps it was renamed but not in all places??
(This mail is partly for documentation so others can pick up where I'll
have to leave this issue for now)
Florian
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org