Revisions for framework/Prefs/Prefs/ldap.php

Location: [ Horde ] / framework / Prefs / Prefs / ldap.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.85.10.30 FRAMEWORK_3 (+13 -11 lines) 05/05/2008 12:43 PM Ben Klang bklang

MFH: 1.122

Tags: HORDE_3_3, HORDE_3_3_RC1, HORDE_3_2_2, HORDE_3_2_1, HORDE_3_2, HORDE_3_2_RC4

1.122 (+13 -11 lines) 05/05/2008 12:39 PM Ben Klang bklang

- Make error messages more user-friendly
- Fix silly typo in admin password
- Make sure we really have a valid connection before setting $_connected = true

1.85.10.29 FRAMEWORK_3 (+7 -7 lines) 02/14/2008 04:41 PM Chuck Hagenbuch chuck

MFH 1.121

Tags: HORDE_3_2_RC3

1.121 (+7 -7 lines) 02/14/2008 04:39 PM Chuck Hagenbuch chuck

Silence the only two un-silenced LDAP calls here.

1.120 (+81 -69 lines) 01/22/2008 11:59 AM Jan Schneider jan

MFH: 1.85.10.27, 1.85.10.28

1.85.10.28 FRAMEWORK_3 (+4 -4 lines) 01/22/2008 11:56 AM Jan Schneider jan

Missed one gettext string.

Tags: HORDE_3_2_RC2

1.85.10.27 FRAMEWORK_3 (+81 -69 lines) 01/22/2008 11:47 AM Jan Schneider jan

Don't localize log messages.
Don't return technical error messages to the user.

1.85.10.26 FRAMEWORK_3 (+193 -166 lines) 01/07/2008 03:08 PM Ben Klang bklang

Based on lack of feedback, committing these patches posted to horde-dev on 2007/12/30.

1.85.10.25 FRAMEWORK_3 (+2 -2 lines) 01/02/2008 06:30 AM Jan Schneider jan

Happy New Year

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

Happy New Year

1.118 (+193 -166 lines) 12/30/2007 03:10 PM Ben Klang bklang

Clean up of the LDAP preferences driver:
* Enable TODO functionality of search DN vs. write DN
* Send all LDAP error messages through localization
* Standardize LDAP error catching
* Catch previously unchecked LDAP errors
* Fix writing prefs with user's credentials

1.85.10.24 FRAMEWORK_3 (+124 -194 lines) 12/20/2007 08:49 AM Jan Schneider jan

Merge from HEAD.

1.117 (+2 -2 lines) 08/01/2007 12:10 AM Chuck Hagenbuch chuck

Jon has assigned his copyrights to The Horde Project.

Tags: BEFORE_MERGE_3_2, HORDE_3_2_RC1, HORDE_3_2_ALPHA

1.116 (+2 -2 lines) 06/27/2007 01:23 PM Jan Schneider jan

Bump year, looks like a missed a few last time.

1.85.10.23 FRAMEWORK_3 (+9 -9 lines) 05/10/2007 12:29 PM Jan Schneider jan

MFH 1.115

Tags: HORDE_3_1_9, HORDE_3_1_8, HORDE_3_1_7, HORDE_3_1_6, HORDE_3_1_5

1.115 (+8 -8 lines) 05/10/2007 12:28 PM Jan Schneider jan

Make sure to log all errors with the error log level.

1.114 (+5 -4 lines) 01/26/2007 12:11 AM Chuck Hagenbuch chuck

We must store _all_ prefs (per scope) with LDAP.

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

Happy New Year

Tags: HORDE_3_1_4, HORDE_3_1_4_RC1

1.113 (+6 -1 lines) 12/27/2006 06:10 PM Chuck Hagenbuch chuck

Fix two shared preference bugs, both of which could cause Bug #4378:
- load the defaults for shared preferences into the horde scope, not the scope
of the app that marks them shared
- retrieve shared prefs when loading the horde scope even though we might not
have a conf for them then, and don't overwrite the retrieved value when we
_do_ load the conf later.

1.112 (+1 -4 lines) 11/23/2006 01:34 PM Chuck Hagenbuch chuck

remove reference to $this->_prefs

1.111 (+70 -128 lines) 11/22/2006 11:47 PM Chuck Hagenbuch chuck

[cjh] Rewrite the Prefs code to keep the same Prefs object through multiple
scope changes, instead of re-loading the Horde prefs, or prefs for
a scope that had already been loaded. Fixes bugs when making changes
to preferences and then switching scopes again (Bug #2838).

This is a big change to the prefs system, and while I've tested all of
it as best as I can, and the SQL driver I'm pretty confident in, this
needs testing before we even think about merging it. It would all be
BC, though.

Please let me know (or update the bug) if this works or doesn't work
for you, especially people using lots of hooks and other more edge
cases, and also let me know if you think it should be merged or not.

1.110 (+7 -7 lines) 11/22/2006 03:30 PM Chuck Hagenbuch chuck

Add a test for Bug 2838.

1.85.10.21 FRAMEWORK_3 (+18 -16 lines) 10/10/2006 04:06 AM Jan Schneider jan

MFH: 1.109

1.109 (+29 -24 lines) 10/09/2006 12:35 PM Jan Schneider jan

Fix variable names, fix logging level, log all errors.

1.85.10.20 FRAMEWORK_3 (+16 -1 lines) 06/21/2006 04:07 PM Jan Schneider jan

MFH: 1.108

Tags: HORDE_3_1_3, HORDE_3_1_2

1.108 (+16 -1 lines) 06/21/2006 01:18 PM Jan Schneider jan

Fix preferences access for special Kolab users.

1.85.10.19 FRAMEWORK_3 (+7 -1 lines) 04/10/2006 11:58 AM Chuck Hagenbuch chuck

MFH: Horde_String not used in all prefs backends.

1.107 (+7 -1 lines) 04/10/2006 11:56 AM Chuck Hagenbuch chuck

Horde_String is not required by all prefs backends.

1.106 (+6 -3 lines) 02/28/2006 02:01 AM Michael M Slusarz slusarz

phpdoc cleanups
cache cleanups.  cacheUpdate() is now only called with the preferences that
need to be updated, instead of always updating the entire prefs array. On
my server, this reduced the number of assignments in cacheUpdate() from 2173
to 379. i think there is still some more tweaking that can be done in here.

1.85.10.18 FRAMEWORK_3 (+1 -6 lines) 02/28/2006 12:59 AM Michael M Slusarz slusarz

Bug: 3372
MFH: Prefs.php - 1.161-1.163; imsp.php - 1.12; ldap.php - 1.105;
sql.php - 1.114

Tags: HORDE_3_1_1, HORDE_3_1

1.105 (+1 -6 lines) 02/28/2006 12:45 AM Michael M Slusarz slusarz

Don't think we need the '_filled' entries since we can simply check for the
presence of the 'scopename' in the prefs_cache array.

1.104 (+5 -22 lines) 02/09/2006 11:19 PM Chuck Hagenbuch chuck

Warn user if loading prefs fails.

1.103 (+2 -2 lines) 02/09/2006 10:54 PM Chuck Hagenbuch chuck

explode instead of split.

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

Happy new year

Tags: HORDE_3_1_RC3, HORDE_3_1_RC2, HORDE_3_1_RC1

1.102 (+2 -2 lines) 01/01/2006 04:10 PM Jan Schneider jan

Happy new year\!

1.101 (+35 -23 lines) 12/26/2005 02:10 PM Chuck Hagenbuch chuck

- Don't call Horde::fatal() in prefs drivers
- Remove call to Horde::serviceDegraded()
- Go back to only connecting to the backend if we actually need to - most
page loads should never hit the prefs backend due to the session cache.

1.85.10.16 FRAMEWORK_3 (+2 -2 lines) 11/22/2005 07:41 PM Jan Schneider jan

MFH: 1.100

1.100 (+2 -2 lines) 11/22/2005 07:35 PM Jan Schneider jan

If we loop through multi-valued UIDs, we should actually check if the values
are empty.

1.85.10.15 FRAMEWORK_3 (+27 -11 lines) 11/10/2005 07:44 AM mdjukic

remove the failover stuff from framework_3

1.85.10.14 FRAMEWORK_3 (+11 -27 lines) 11/09/2005 07:33 PM mdjukic

MFH: failover and some typo fixing

1.99 (+11 -27 lines) 11/09/2005 07:26 PM mdjukic

Add failover support to Prefs too.
Fix what seems some typos in imsp ($this->_params).

1.85.10.13 FRAMEWORK_3 (+1 -3 lines) 10/26/2005 02:25 PM Michael M Slusarz slusarz

MFH: Remove obsolete @since tags.

1.98 (+1 -3 lines) 10/26/2005 02:22 PM Michael M Slusarz slusarz

Remove obsolete @since tags.

1.85.10.12 FRAMEWORK_3 (+36 -29 lines) 10/18/2005 07:01 AM Jan Schneider jan

Merged from HEAD.

1.85.10.11 FRAMEWORK_3 (+2 -2 lines) 09/28/2005 06:24 AM Jan Schneider jan

MFH: 1.97

Tags: HORDE_3_0_12, HORDE_3_0_11, HORDE_3_0_10, HORDE_3_0_9, HORDE_3_0_8, HORDE_3_0_7, HORDE_3_0_6, HORDE_3_0_6_RC1

1.97 (+2 -2 lines) 09/28/2005 06:18 AM Jan Schneider jan

Fix parentheses.

Tags: BEFORE_MERGE_3_1

1.85.10.10 FRAMEWORK_3 (+2 -11 lines) 07/03/2005 01:05 AM Matt Selsky selsky

MFH: Remove "@access public" and fix wrapping.

Tags: HORDE_3_0_5, HORDE_3_0_5_RC2, HORDE_3_0_5_RC1

1.96 (+2 -11 lines) 07/03/2005 12:36 AM Matt Selsky selsky

Remove "@access public" and fix wrapping.

1.85.10.9 FRAMEWORK_3 (+9 -12 lines) 06/22/2005 10:08 PM Matt Selsky selsky

MFH: Remove extra stuff from @var lines in phpdoc and remove unneeded @access
public lines.

1.95 (+9 -12 lines) 06/22/2005 09:58 PM Matt Selsky selsky

Remove extra stuff from @var lines in phpdoc and remove unneeded @access public
lines.

1.94 (+36 -29 lines) 06/01/2005 01:28 AM Chuck Hagenbuch chuck

[cjh] Add configuration option to search for the user's DN in the Prefs_ldap
driver (Bug #1786).

1.85.10.8 FRAMEWORK_3 (+2 -2 lines) 05/20/2005 09:06 AM stuart

MFH: 1.93

1.93 (+2 -2 lines) 05/20/2005 09:06 AM stuart

Results from secondary uid attributes were overwriting primary prefs data when using multiple 'uid' attributes; if the primary attribute contained the prefs data it would be overwritten with an empty set from the seconday attribute.

1.85.10.7 FRAMEWORK_3 (+3 -3 lines) 05/09/2005 11:03 PM Matt Selsky selsky

MFH: "optional" not needed in phpdoc.

1.92 (+3 -3 lines) 05/09/2005 11:01 PM Matt Selsky selsky

"optional" not needed in phpdoc.

1.85.10.6 FRAMEWORK_3 (+2 -2 lines) 04/28/2005 07:05 PM Matt Selsky selsky

MFH: Don't use array_push() if we don't need to.

1.91 (+2 -2 lines) 04/28/2005 01:44 PM Matt Selsky selsky

Don't use array_push() if we don't need to.

1.85.10.5 FRAMEWORK_3 (+20 -18 lines) 04/21/2005 12:11 PM Matt Selsky selsky

MFH.

1.90 (+20 -18 lines) 04/21/2005 06:00 AM Matt Selsky selsky

Clean up required/optional parameters in phpdoc.

1.85.10.4 FRAMEWORK_3 (+2 -2 lines) 03/03/2005 06:04 PM Chuck Hagenbuch chuck

MFH: 'rootdn' is not required for LDAP preferences (Bug #1453).

Tags: HORDE_3_0_4, HORDE_3_0_4_RC2, HORDE_3_0_4_RC1

1.89 (+2 -2 lines) 03/03/2005 06:04 PM Chuck Hagenbuch chuck

[cjh] 'rootdn' is not required for LDAP preferences (Bug #1453).

1.85.10.3 FRAMEWORK_3 (+48 -3 lines) 02/09/2005 04:39 PM Chuck Hagenbuch chuck

MFH: Implement clear() in the LDAP prefs driver (Bug #1335).

Tags: HORDE_3_0_3

1.88 (+48 -3 lines) 02/09/2005 04:37 PM Chuck Hagenbuch chuck

[cjh] Implement clear() in the LDAP prefs driver (Bug #1335).

1.85.10.2 FRAMEWORK_3 (+61 -46 lines) 01/31/2005 09:07 AM stuart

MFH: Allow support for multiple UID fields

Tags: HORDE_3_0_3_RC1

1.87 (+61 -46 lines) 01/31/2005 08:49 AM stuart

Allow support for multiple UID fields

1.86 (+1 -1 lines) 01/03/2005 08:09 AM Jan Schneider jan

Happy New Year

1.85.10.1 FRAMEWORK_3 (+3 -3 lines) 01/03/2005 07:19 AM Jan Schneider jan

Happy New Year

Tags: HORDE_3_0_2, HORDE_3_0_1

1.85 (+3 -3 lines) 06/23/2004 03:43 PM Chuck Hagenbuch chuck

When we just want to check position, strpos and stripos are faster and use less memory
than strstr and stristr.

Tags: FRAMEWORK_3, HORDE_3_0, HORDE_3_0_RC3

1.84 (+2 -49 lines) 02/21/2004 12:40 PM Chuck Hagenbuch chuck

[cjh] Prefs::getPref() has been deprecated and is no longer present.

Tags: HORDE_3_0_ALPHA

1.83 (+5 -5 lines) 02/14/2004 06:34 PM Chuck Hagenbuch chuck

minor cleanup

1.82 (+3 -4 lines) 01/07/2004 12:25 PM Jan Schneider jan

Make sure the default preferences are always loaded, even if not using any
preference backend.

1.81 (+3 -3 lines) 01/01/2004 10:16 AM Jan Schneider jan

Happy new year everyone.

1.80 (+8 -8 lines) 01/01/2004 12:47 AM Chuck Hagenbuch chuck

fix parameter names/spelling

Submitted by: Henry Bauer <lists.horde.org@henrybauer.com>

1.79 (+39 -9 lines) 12/03/2003 08:57 PM Chuck Hagenbuch chuck

Add code to make sure that users have the appropriate objectclasses
before trying to store preferences (Dan Ohnesorg <Dan@ohnesorg.cz>).

1.78 (+4 -4 lines) 10/27/2003 07:26 PM Chuck Hagenbuch chuck

need to grab prefs from somewhere other than thin air

1.77 (+3 -3 lines) 10/21/2003 09:04 AM Chuck Hagenbuch chuck

package name

1.76 (+6 -2 lines) 10/03/2003 02:53 PM Chuck Hagenbuch chuck

Here's another crack at the preferences problem. The logic for retrieve() seems to
be working correctly, so now we call setDefaults() only if we're going to actually
hit the backend in retrieve(), and don't call setDefaults() explicitly anywhere else.

This may mean a few things need to change for guest preferences, but we'll sort
that out.

1.75 (+7 -2 lines) 09/20/2003 10:33 PM Chuck Hagenbuch chuck

Try to sort out the prefs caching logic.

1.74 (+3 -3 lines) 09/16/2003 07:06 PM Jan Schneider jan

Use the new Util:: class.

1.73 (+8 -20 lines) 09/09/2003 10:58 AM Chuck Hagenbuch chuck

More simplification of preferences code. listAll() isn't needed anymore.

1.72 (+18 -30 lines) 09/08/2003 05:44 PM Chuck Hagenbuch chuck

Clean up preferences a bit:
- setDefaults() is now a private method (_setDefaults()), and only called by
the Prefs constructor.
- Everything we need gets stored in the session prefs cache. Therefore, we
only need to read in the prefs.php files once per session.
- clean up retrieve() a bit; we *never* pass it a list of explicit preferences, so
simplify by always loading all prefs per current scope.

1.71 (+61 -61 lines) 08/25/2003 02:28 PM Jan Schneider jan

Fix variable names.

1.70 (+6 -14 lines) 08/23/2003 04:21 PM Jan Schneider jan

Use Horde::assertDriverConfig().

1.69 (+40 -21 lines) 07/10/2003 06:06 PM Michael M Slusarz slusarz

More doc improvements

1.68 (+3 -3 lines) 06/11/2003 10:50 PM Chuck Hagenbuch chuck

Don't mark newly loaded preferences as dirty.

Submitted by: Jeff Seifert <seifert@everybody.org>

1.67 (+3 -4 lines) 06/10/2003 02:16 PM Chuck Hagenbuch chuck

missed a username occurance

1.66 (+8 -8 lines) 06/09/2003 08:27 PM Chuck Hagenbuch chuck

standardize on rootdn.

Submitted by: Jeff Seifert <seifert@everybody.org>

1.65 (+4 -4 lines) 06/06/2003 03:22 PM Michael M Slusarz slusarz

Submitted by: Jeff Seifert <seifert@everybody.org>
PHP documentation did not make clear that ldap_set_rebind_proc() requires both
PHP 4.2.0+ AND an LDAP that supports this. OpenLDAP 2.0 does not, so we need
to check for the function.

1.64 (+3 -4 lines) 05/19/2003 04:29 PM Michael M Slusarz slusarz

Convert more function_exists() -> extensionExists()
Some of these function_exists were for functions not available before PHP
4.2.0.  Since HEAD requires 4.2.1, we don't need these checks anymore.

1.14.2.20 RELENG_2 (+3 -3 lines) 05/09/2003 10:49 AM Chuck Hagenbuch chuck

minor cleanups.

Tags: HORDE_2_2_4_RC2, HORDE_2_2_4_RC1, HORDE_2_2_4

1.14.2.19 RELENG_2 (+11 -5 lines) 02/17/2003 06:57 PM Jan Schneider jan

MFH: Some sanity checks.

Tags: HORDE_2_2_3, HORDE_2_2_2

1.63 (+3 -3 lines) 02/11/2003 03:36 PM Michael M Slusarz slusarz

Added Horde::extensionExists() to cache extension_loaded() calls.

1.62 (+23 -32 lines) 02/07/2003 04:32 PM Michael M Slusarz slusarz

Eliminate some array_key_exists() calls.
style.

1.14.2.18 RELENG_2 (+4 -0 lines) 01/17/2003 05:22 AM Jan Schneider jan

phpdoc

Tags: HORDE_2_2_1, HORDE_2_2_1_RC1, HORDE_2_2

1.61 (+3 -3 lines) 01/06/2003 04:36 AM Jan Schneider jan

Rename String::strtolower() to String::lower() and strtoupper() to upper().

1.60 (+3 -3 lines) 01/04/2003 09:09 PM Jan Schneider jan

Add String:: class and move all string manipulation methods from NLS:: to
String::

1.59 (+6 -2 lines) 01/03/2003 10:20 AM Jan Schneider jan

Add and fix @since tags.

1.14.2.17 RELENG_2 (+3 -3 lines) 01/03/2003 07:48 AM Jan Schneider jan

Bump year.

Tags: HORDE_2_2_RC2, HORDE_2_2_RC1

1.58 (+3 -3 lines) 01/02/2003 09:39 PM Jan Schneider jan

Bump year.

1.57 (+14 -14 lines) 01/02/2003 09:01 PM Michael M Slusarz slusarz

Search for extensions rather than function names.
Do this extension check inside the constructor.
Various PEAR_Error cleanups.
some phpdoc.

1.56 (+5 -5 lines) 12/31/2002 06:39 AM Jan Schneider jan

More strtolower() replacments that I forgot to commit.

1.14.2.16 RELENG_2 (+15 -8 lines) 12/21/2002 10:51 PM jon

MFH 1.55: Set the LDAP protocol version correctly.

Only showing the 100 latest revisions. Show all revisions? (may take a while).