A.L.E.C wrote:
> Pedro R. Benito da Rocha wrote:
>> Hello all,
>>
>> Here is the plugin and default config (rename it to config.inc.php). See
>> attached files.
>
> Did you try imap_connect/smtp_connect hooks to overwrite host setting?
>
add_hook('imap_connect', array($this, 'get_server'));
Sorry for the late response. Moved last week, and this was first week of
classes.
The changes do seem to have corrected the issue. :)
Unfortunately, I'll still need to modify rcube_ldap.php to allow me to
use multiple DN's for searching. The AD implementation where I am is
messy. Searching on
search.inc.patch is for program/steps/addressbook/search.inc
This patch is a workaround for what appears to be a PHP bug that
prevents the setting of multi-dimension associative arrays in $_SESSION
(more specifically, the value of $_SESSION['search'][$search_request]).
The bug causes issues wi
n
the listing of records and displaying details of a specific record. As
it is, it took me quite some time to track down the "filtering" effect
of _ldap2result (I have admitted, and admit again here, that I am not a
professional programmer or debugger :) ).
Kyle
A.L.E.
$out[$rf] = $rec[$lf][0];
elseif ($rec[strtolower($lf)]['count'])
$out[$rf] = $rec[strtolower($lf)][0];
}
return $out;
}
-
Terminal Addict wrote:
> Oops. :)
>
> The change does
t
with the following:
// $_SESSION['search'][$search_request] = $CONTACTS->get_search_set();
$search_set[$search_request] = $CONTACTS->get_search_set();
$_SESSION['search'] = $search_set;
This of course would be a problem if $_SESSION['search'] contained
anything el
I am following up on a submitted bug and was hoping someone else could
confirm the behaviour I'm seeing.
I have added the following to program/steps/addressbook/search.inc to
demonstrate the problem (note that first line below should be the
existing line 34).
$_SESSION['search'][$search_req
Oops. :)
The change does indeed work, but it required the "*_field" values to be
all lower case. The values in "search_fields" seem to be
case-insensitive (which I believe they should be).
Kyle
Terminal Addict wrote:
> Okay...
>
> program/steps/addressbook/show.i
ecified for search_fields and name_field arrays.
So, line 33 in show.inc changed to the following yields expected results.
if (!(($result = $CONTACTS->list_records()) && ($record =
$result->first( {
Kyle
Terminal Addict wrote:
> LDAP being used is AD. name_field is
LDAP being used is AD. name_field is 'displayName'.
If I specify name_field as 'displayname', then it properly displays
names in the list (for search results), but it won't show the display
name in the contact details.
If I specify name_field as 'displayName', then it displays empty (but
click
This diff for rcube_ldap.php allows users to define an array
'search_base_dn' in an ldap config. This is for users that may have to
deal with poor LDAP data (like you would see from someone who can
install Windows Server 2008 so they think they're an IT admin expert).
I freely and openly admit tha
11 matches
Mail list logo