[sork] [accounts] Update of accounts module

Roel Gloudemans roel at gloudemans.info
Sat Aug 7 06:33:22 PDT 2004


Hi List,

I've done some work on the accounts module. I've added some extra features for
LDAP users.

If the LDAP attributes shadowMax, shadowWarning and shadowLastChange are
present, the date of that last password change is showed and a warning is
generated if the password is about to expire.

Additionally, the module did a LDAP call for each attribute it was getting. Ech
call returned the complete attribute set. I've changed this logic. It does one
call to get teh information and then passes the information around.

Error reporting is also brushed up. The patches are included in the mail. Please
tell me what you think of it. This is my first real work on a horde module
(however small), so expect me to violate the coding standards.

(I also had to update the localhost (POSIX) driver, but since I'm not using it I
didn't test it)

Cheers,
Roel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Driver.php.patch
Type: text/x-patch
Size: 3068 bytes
Desc: not available
Url : http://lists.horde.org/archives/sork/attachments/20040807/d3b5ddf4/Driver.php.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accounts.pot.patch
Type: text/x-patch
Size: 1704 bytes
Desc: not available
Url : http://lists.horde.org/archives/sork/attachments/20040807/d3b5ddf4/accounts.pot.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldap.php.patch
Type: text/x-patch
Size: 5927 bytes
Desc: not available
Url : http://lists.horde.org/archives/sork/attachments/20040807/d3b5ddf4/ldap.php.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: localhost.php.patch
Type: text/x-patch
Size: 3102 bytes
Desc: not available
Url : http://lists.horde.org/archives/sork/attachments/20040807/d3b5ddf4/localhost.php.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.inc.patch
Type: text/x-patch
Size: 1846 bytes
Desc: not available
Url : http://lists.horde.org/archives/sork/attachments/20040807/d3b5ddf4/main.inc.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.php.patch
Type: text/x-patch
Size: 1021 bytes
Desc: not available
Url : http://lists.horde.org/archives/sork/attachments/20040807/d3b5ddf4/main.php.bin


More information about the sork mailing list