Bug#856467: davical: Fails to create principals for LDAP users with modifyTimestamp configured since 1.1.5

2017-09-17 Thread Philipp Marek
Source: davical
Version: 1.1.5-1
Followup-For: Bug #856467

Fixed upstream, please cut a new release in Debian.

Thank you!



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.12.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_AT:de (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 



Bug#856467: davical: Fails to create principals for LDAP users with modifyTimestamp configured since 1.1.5

2017-03-01 Thread Rik Theys
Package: davical
Version: 1.1.5-1
Severity: important

Dear Maintainer,

When the configuration contains an LDAP mapping for the modified field
to modifyTimestamp,
davical fails to create a new user as there's an error in the code that
does the mapping.

The outcome is that the user is not created and can not login. Users
that were already
in the database of davical can login.

Version 1.1.3 from stable does not have this issue.


Relevant bits of our configuration:

'mapping_field' => array("username" => "uid",
 "modified" => "modifyTimestamp",
 "fullname" => "cn",
 "user_no" => "uidNumber",
 "email" => "mail"
 ), //used to create the user based on his
ldap properties
'format_updated' => array('Y' => array(0,4),'m' => array(4,2),'d'=>
array(6,2),'H' => array(8,2),'M'=>array(10,2),'S' => array(12,2)),

I've reported this upstream as issue 108.

https://gitlab.com/davical-project/davical/issues/108

I have cloned the repository here and it contains a fix for this issue:

https://gitlab.esat.kuleuven.be/Rik.Theys/davical

Regards,

Rik

-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages davical depends on:
ii  libawl-php 0.57-1~bpo8+1
ii  libdbd-pg-perl 3.4.2-1
ii  libyaml-perl   1.13-1
ii  perl   5.20.2-3+deb8u6
ii  php5   5.6.30+dfsg-0+deb8u1
ii  php5-cli   5.6.30+dfsg-0+deb8u1
ii  php5-pgsql 5.6.30+dfsg-0+deb8u1
ii  postgresql-client-9.4 [postgresql-client]  9.4.10-0+deb8u1

Versions of packages davical recommends:
ii  php5-curl   5.6.30+dfsg-0+deb8u1
ii  postgresql  9.4+165+deb8u2

Versions of packages davical suggests:
ii  php5-ldap  5.6.30+dfsg-0+deb8u1

-- Configuration Files:
/etc/davical/config.php changed [not included]

-- no debconf information