Revisions for passwd/lib/Driver.php

Location: [ Horde ] / passwd / lib / Driver.php View: Logs | Branches | Statistics
Search Revisions:
Show diffs between and
Show Differences shows diffs to the previous revision. If you select a revision by clicking its row, Show Differences will show the differences to the selected row.
Show Branch:
  Revision Date Author Log Message
1.44.2.9 FRAMEWORK_3 (+2 -2 lines) 10/24/2008 12:48 PM Jan Schneider jan

Like the LDAP driver, make clear that this is the old password.

1.56 (+2 -2 lines) 10/24/2008 11:01 AM Jan Schneider jan

Like the LDAP driver, make clear that this is the old password.

1.44.2.8 FRAMEWORK_3 (+17 -5 lines) 10/09/2008 01:12 PM Jan Schneider jan

Merge from HEAD.

1.55 (+2 -2 lines) 01/02/2008 06:13 AM Jan Schneider jan

Happy New Year

Tags: BEFORE_MERGE_3_3

1.54 (+15 -3 lines) 07/19/2007 04:47 PM Chuck Hagenbuch chuck

[cjh] Add support for switching between encryption schemes
(ulrich-horde@topfen.net, Request #2865).

1.44.2.7 FRAMEWORK_3 (+2 -2 lines) 01/02/2007 08:55 AM Jan Schneider jan

Happy New Year

Tags: PASSWD_3_0_1, PASSWD_3_0_1_RC1

1.53 (+2 -2 lines) 01/02/2007 07:48 AM Jan Schneider jan

Happy New Year

1.52 (+2 -2 lines) 12/30/2006 02:15 PM Jan Schneider jan

Standardize on "_The_ Horde Project" and "http://_www_.horde.org".

1.44.2.6 FRAMEWORK_3 (+3 -3 lines) 08/21/2006 10:18 AM Jan Schneider jan

MFH: Assume that the originally intended license is GPL, because this was used in most places before I changed over to ASL.

1.51 (+3 -3 lines) 08/21/2006 09:37 AM Jan Schneider jan

Assume that the originally intended license is GPL, because this was used in most places before I changed over to ASL.

1.44.2.5 FRAMEWORK_3 (+3 -38 lines) 07/25/2006 02:21 PM Chuck Hagenbuch chuck

MFH:
1.50      +3 -38     passwd/lib/Driver.php
1.11      +3 -5      passwd/lib/Driver/composite.php
1.71      +2 -2      passwd/main.php

1.50 (+3 -38 lines) 07/25/2006 02:20 PM Chuck Hagenbuch chuck

- Remove unused singleton method
- Remove unnecessary forced reference from factory method

1.44.2.4 FRAMEWORK_3 (+11 -7 lines) 07/17/2006 05:35 AM Jan Schneider jan

MFH 1.49

1.49 (+11 -6 lines) 07/17/2006 05:21 AM Jan Schneider jan

Case insensitive comaparison of hashing algorithm.

Bug: 2708

1.48 (+4 -5 lines) 05/24/2006 11:47 AM Chuck Hagenbuch chuck

Fix phpdoc.

1.44.2.3 FRAMEWORK_3 (+4 -4 lines) 01/03/2006 04:30 AM Jan Schneider jan

MFH: 1.47

1.47 (+4 -4 lines) 01/03/2006 04:25 AM Jan Schneider jan

wrap

1.44.2.2 FRAMEWORK_3 (+2 -2 lines) 01/01/2006 04:29 PM Jan Schneider jan

Happy new year

1.46 (+2 -2 lines) 01/01/2006 04:11 PM Jan Schneider jan

Happy new year\!

1.44.2.1 FRAMEWORK_3 (+3 -2 lines) 12/01/2005 05:30 AM Matt Selsky selsky

MFH: References.

1.45 (+3 -2 lines) 12/01/2005 04:57 AM Matt Selsky selsky

References.

1.44 (+2 -2 lines) 08/24/2005 01:47 AM Matt Selsky selsky

Use double-quotes.

Tags: FRAMEWORK_3, BEFORE_BRANCH_3, PASSWD_3_0, PASSWD_3_0_RC1

1.43 (+8 -3 lines) 08/23/2005 07:15 AM Jan Schneider jan

Update licenses, copyrights, docblocks.

1.42 (+2 -2 lines) 06/23/2005 06:15 PM Matt Selsky selsky

down-case type in phpdoc

Tags: PASSWD_3_0_BETA

1.41 (+6 -5 lines) 06/23/2005 04:36 PM Matt Selsky selsky

Clean up phpdoc.

1.40 (+1 -2 lines) 04/20/2005 01:51 AM Matt Selsky selsky

Remove @version.

1.3.2.7 RELENG_2 (+33 -11 lines) 07/02/2004 04:18 PM Chuck Hagenbuch chuck

MFH: Add support for crypt-md5 encryption.
Bug: 330

Tags: PASSWD_2_2_2

1.39 (+2 -31 lines) 04/05/2004 08:11 PM max

[max] Add optional 'required' parameters to composite driver's subdriver configurations.
[max] Add optional parameter 'no_reset' to the backend configs which prevents
reseting the authenticated user's credentials on password changes.
[max] Properly reset authenticated user's credentials using Horde's Auth::setCredential().

move Driver::resetCredentials() to Passwd::resetCredentials().
reset credentials in main.php and remove the call from individual drivers (THIS NEEDS TESTING).

1.38 (+3 -3 lines) 02/10/2004 03:35 PM Chuck Hagenbuch chuck

silly logic error

1.37 (+3 -3 lines) 02/02/2004 03:01 PM Chuck Hagenbuch chuck

;          Ben Chavet <ben@chavet.net>

1.36 (+104 -184 lines) 02/01/2004 09:15 PM Chuck Hagenbuch chuck

- Use the new password encryption code in Auth:: to avoid multiple
implementations.

- Lots of CS, phpdoc, and other cleanup.

1.35 (+4 -4 lines) 12/30/2003 11:44 PM Chuck Hagenbuch chuck

Fix SMD5 encryption.

Submitted by:   Richard.Heggs@nottinghamcity.gov.uk

1.34 (+3 -3 lines) 10/30/2003 06:38 PM Jan Schneider jan

PHP 5 fixes.

1.33 (+12 -9 lines) 10/28/2003 01:33 PM Chuck Hagenbuch chuck

Auth::setAuth() shouldn't be called statically anymore.

1.32 (+9 -9 lines) 09/26/2003 09:48 PM Chuck Hagenbuch chuck

The encryption type needs to be at the beginning of the password
for some drivers to work (Amith Varghese <amith@xalan.com>).

1.31 (+3 -3 lines) 09/05/2003 07:07 AM Jan Schneider jan

Typo
Submitted by: Markus Passerschröer <markus.passerschroeer@ruhr-uni-bochum.de>

1.30 (+4 -4 lines) 09/01/2003 07:19 PM Jan Schneider jan

Simplify driver instantiation even more.

1.29 (+41 -37 lines) 07/23/2003 04:17 PM max

Fix password comparisons for encryption types where a random salt was used.

1.28 (+24 -12 lines) 07/18/2003 07:12 PM max

add crypt-md5 and crypt-blowfish encryption types and move all crypt
determinations to use these.  Also add crypt-des which is just an alias
for crypt (which remains unchanged) for consistancy.

1.27 (+12 -12 lines) 06/30/2003 05:32 PM mdjukic

- lib/Driver/sql.php (syntax error)
- lib/Driver.php (the order in which the encryption type is added to the
encrypted string.)

Submitted by: Marc Jauvin <marc@register4less.com>

1.26 (+46 -32 lines) 06/27/2003 08:17 AM mdjukic

- small cleaning up, style, comments
- add an extract backend config setting to set or not the crypt identifier in the password field, submitted by: Marc Jauvin <marc@register4less.com>

1.25 (+16 -18 lines) 06/25/2003 10:44 PM mdjukic

I have tweaked slightly how crypt() is handled. The biggest problem is the appending of {crypt} string before the encrypted password, which I've tried to figure out why this has been done in such a way but to no luck. It means that sharing the SQL database with other apps such as PAM, SMTP-auth etc becomes impossible if there are strings prefixed.
If someone has an idea why this is done and should stay I'll put it back and script around it to make it optional, or something similar.

1.24 (+8 -8 lines) 06/25/2003 09:37 PM mdjukic

style, end of line tags, variable naming, spacing

1.23 (+6 -6 lines) 06/25/2003 08:46 PM mdjukic

- consistent function/variable naming
- put in some sql debug logging
- vpopmail now checks if domain is actually specified to then use it in sql
- style, spacing, comments

1.22 (+15 -13 lines) 04/20/2003 12:34 PM Chuck Hagenbuch chuck

Add a separate function for stripping realm information from the
username;

1.21 (+3 -3 lines) 02/25/2003 06:54 PM Eric Rostetter ericr

Make it configurable if we can specify the username to change

1.3.2.6 RELENG_2 (+3 -3 lines) 02/15/2003 03:16 PM Eric Rostetter ericr

* Fix Typo (Incorect -> Incorrect) reported by Luc Bonjean
* Restore some bc to sql and vpopmail drivers

Tags: PASSWD_2_2_1, PASSWD_2_2_1_RC1

1.20 (+4 -4 lines) 02/14/2003 05:44 PM Michael M Slusarz slusarz

Add optional parameter to Auth::getAuth() that causes any realm information
to be stripped off. Important if trying to match a bare username with
an Authenticaton result.

1.19 (+15 -15 lines) 02/05/2003 08:32 PM Eric Rostetter ericr

Double quotes to single quotes...

1.18 (+3 -4 lines) 02/04/2003 03:10 PM Eric Rostetter ericr

* Remove old realm code that was previously missed
* Port servuftp driver to new backends.conf format

1.3.2.5 RELENG_2 (+3 -4 lines) 02/04/2003 03:03 PM Eric Rostetter ericr

* Fix bogus remains from old realm support
* Migrate servuftp to new backend.conf format

Tags: PASSWD_2_2, PASSWD_2_2_RC2

1.3.2.4 RELENG_2 (+135 -6 lines) 01/20/2003 08:28 PM Eric Rostetter ericr

* MFH: Remove mdaemon driver
* MFH: Add vpopmail driver by Amith Varghese
* MFH: Add vmailmgr driver by Marco Kaiser
* MFH: Add expect script by Gaudenz Steinlin
* MFH: update servuftp driver by lucas
* MFH: Update sql driver (exim sql based)
* MFH: Update ldap driver
* MFH: reset horde/imp cached credentials when changing password
* MFH: [mac] Add username hooks
* MFH: [mc] rewerite driver system, add backends.conf system
* Update docs

Tags: PASSWD_2_2_RC1

1.17 (+7 -4 lines) 01/17/2003 01:06 AM Eric Rostetter ericr

* Check username as well as password before changing horde cached auth
info.  The user may be changing it for another username, backend, etc.
This at least deals with changing other users, if not backends.

1.16 (+12 -9 lines) 01/11/2003 09:06 PM Eric Rostetter ericr

* Check that old password == horde cached password before we try to
change the horde cached password.

Bug: In the reset password, you assume that you are changing the password
for the authentication that is being used for login. This isn't always
going to be true.  I would prefer this to be an option set in the backend
config, or at least check that the password that Auth:: currrently has ==
$oldpassword before setting it to $newpassword.

Submitted by: Mike Cochrane

1.15 (+3 -3 lines) 01/08/2003 11:21 AM Marcus I. Ryan marcus

typo

1.14 (+4 -4 lines) 01/03/2003 10:20 AM Jan Schneider jan

Add and fix @since tags.

1.3.2.3 RELENG_2 (+4 -4 lines) 01/03/2003 08:23 AM Jan Schneider jan

Fix @since tags.
Kill trailing whitespace.

1.13 (+7 -6 lines) 12/31/2002 09:21 AM Chuck Hagenbuch chuck

Simplify a lot of driver code; serialize() is faster than md5(), so we
can remove some code. Add a bunch of missing basename() calls, fix
some places where we shouldn't have returned a base class object, etc.

1.12 (+4 -4 lines) 12/29/2002 07:40 AM Jan Schneider jan

More strtolower() replacements.

1.11 (+12 -3 lines) 12/19/2002 04:05 PM Eric Rostetter ericr

* Patches to make ldap/sql md5 work right.
* Now uses md5-hex and md5-base64 instead of md5
* Old installs will need to update their configuration files!!!
* Also fix some line wraps.

Submitted by: Amith Varghese <amith@xalan.com>

1.10 (+2 -2 lines) 12/18/2002 02:23 PM Eric Rostetter ericr

* Revert change intended to silence an error.
* If needed (if error really exists) we'll fix it in Horde instead?

1.9 (+2 -2 lines) 12/18/2002 12:21 PM Eric Rostetter ericr

* Silence error if transparent isn't set/used.

1.8 (+20 -1 lines) 12/18/2002 12:12 PM Eric Rostetter ericr

* Move changing horde/imp credentials out of backend into Driver.php
* Fix some cases where the newpassword variable name was wrong

1.7 (+34 -12 lines) 12/05/2002 06:10 PM Eric Rostetter ericr

* Fix 'crypt' and 'sha' encryption checks
* Add 'smd5' and 'ssha' encryption types

Submited by: Jeff Clark <jeff@tmtrading.com>

1.6 (+8 -8 lines) 11/12/2002 09:09 PM Eric Rostetter ericr

* Detab and remove trailing spaces

1.5 (+2 -0 lines) 10/12/2002 03:41 AM mikec

Remove old conf.dist and $Horde$

1.4 (+75 -6 lines) 10/12/2002 03:35 AM mikec

First round of changes to Passwd.

Passwd is now designed to be a guest application. Moved to conf.xml for configuration. backends.php for specifying the backends for configuration.

NB: Passwd_Drivers are now responsible for checking the current password. is correct! I have changed the LDAP and SQL drivers to do this.

The drivers API have been changed if you are using a driver other than ldap or sql then Passwd will currently be broken for you.

Does anyone actually use the mdaemon driver or was that just me?

1.3.2.2 RELENG_2 (+4 -1 lines) 10/09/2002 01:52 PM Eric Rostetter ericr

* Add $Horde tag
* Style

Tags: PASSWD_2_1

1.3.2.1 RELENG_2 (+2 -2 lines) 10/09/2002 01:50 PM Eric Rostetter ericr

* MFH: move to driver system
* MFH: add javascript checks for form input
* MFH: clean up code, better html, style, etc.
* MFH: support more checks (lengths, strenth, etc)

1.3 (+94 -94 lines) 07/24/2002 02:08 PM Michael M Slusarz slusarz

Wow - missed one and boy did CVS complain about the linebreaks.

Tags: RELENG_2

1.2 (+1 -1 lines) 07/24/2002 02:07 PM Michael M Slusarz slusarz

No short tags and Windows EOL -> Unix EOL. Eric, I cleaned these nits up
so they would work on my site. :)

1.1 07/16/2002 07:00 PM Eric Rostetter ericr

* Move the different methods of changing passwords into a Drivers class
* Change the configuration parameters some
* Hope these massive changes don't break too many things ;)

Submitted by: Michael Cochrane