[Tickets #9770] Re: LDAP driver for Portal Block account info do not work
bugs at horde.org
bugs at horde.org
Tue Apr 26 11:35:22 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9770
------------------------------------------------------------------------------
Ticket | 9770
Updated By | giunta at sissa.it
Summary | LDAP driver for Portal Block account info do not work
Queue | Horde Base
Version | Git master
Type | Bug
State | Resolved
Priority | 1. Low
Milestone |
Patch |
Owners | Jan Schneider
------------------------------------------------------------------------------
giunta at sissa.it (2011-04-26 11:35) wrote:
> Changes have been made in Git for this ticket:
>
> Refactor LDAP driver to user Horde_Ldap (Bug #9770).
>
> 1 files changed, 74 insertions(+), 151 deletions(-)
> http://git.horde.org/horde-git/-/commit/2bb5eb64a50c270fe0f7d9fce688af14a4c7ed96
There is still an error in getPasswordChange function: it always
return 01/01/1970 because it miss '* 86400'
Here solution:
--- Ldap.php.orig 2011-04-26 12:17:18.000000000 +0200
+++ Ldap.php 2011-04-26 13:27:43.000000000 +0200
@@ -175,7 +175,7 @@
{
$information = $this->_getAccount();
try {
- return strftime('%x',
$information->getValue('shadowlastchange', 'single'));
+ return strftime('%x',
$information->getValue('shadowlastchange', 'single') * 86400);
} catch (Horde_Ldap_Exception $e) {
}
try {
Regards,
Marco
More information about the bugs
mailing list