[horde] localldap source and gal
David Wells - Alfavinil S.A.
dwells at alfavinil.com
Fri Dec 22 12:38:35 UTC 2023
Hi!
Just to follow up, it did just work. Thank you very much!
Best regards,
Dave.
On 15/12/23 23:12, Michael J Rubinsky wrote:
>
> Quoting David Wells - Alfavinil S.A. <dwells at alfavinil.com>:
>
>> Hi everybody!
>>
>> I sent this message to the turba mailing list but as it is related to
>> activesync I'll also send to this list, sorry for crossposting if
>> this is not the correct place. I have set up horde with the latest
>> versions available in pear with php 7 and I set up in turba's
>> backends.local.php file a source identified as 'localldap' using the
>> localldap entry in the backends.php file as a template to connect to
>> a samba 4 AD DC, I can query this address book from horde's web gui
>> correctly and if I set it as browseable I can see all the entries
>> stored in the DC. In turba's settings I set this source as the gal
>> source ($conf['gal']['addressbook'] = 'localldap';) but no activesync
>> client (tried ms outlook and thunderbird with tbsync addon) can see
>> this gal. Is there anything else to setup to get this working?
>
>
> Hi Dave, it's been a while since I've been in that code, but this
> SOUNDS like it should be working. Just to clarify, with ActiveSync, a
> "GAL" does not show up as a browsable address book (regardless of how
> Horde configures it for the GUI). It is only used during typical
> search operations, such as when composing an email and searching for
> the recipient.
>
> I would enable the activesync logging in the Horde config, then try
> composing an email to a recipient that exists only in the GAL and not
> in any of your other sync'd address books. Look in the log for the
> SEARCH request, it would look something like this:
>
>
> [1513692][2023-12-16T02:08:11+00:00] I: <Search:Search>
> [1513692][2023-12-16T02:08:11+00:00] I: <Search:Store>
> [1513692][2023-12-16T02:08:11+00:00] I: <Search:Name>
> [1513692][2023-12-16T02:08:11+00:00] I: GAL
> [1513692][2023-12-16T02:08:11+00:00] I: </Search:Name>
> [1513692][2023-12-16T02:08:11+00:00] I: <Search:Query>
> [1513692][2023-12-16T02:08:11+00:00] I: mrubinsk at horde.org
> [1513692][2023-12-16T02:08:11+00:00] I: </Search:Query>
> [1513692][2023-12-16T02:08:11+00:00] I: <Search:Options>
> [1513692][2023-12-16T02:08:11+00:00] I: <Search:Range>
> [1513692][2023-12-16T02:08:11+00:00] I: 0-1
> [1513692][2023-12-16T02:08:11+00:00] I: </Search:Range>
> [1513692][2023-12-16T02:08:11+00:00] I: <Search:Picture>
> [1513692][2023-12-16T02:08:11+00:00] I: <Search:MaxSize>
> [1513692][2023-12-16T02:08:11+00:00] I: 102400
> [1513692][2023-12-16T02:08:11+00:00] I: </Search:MaxSize>
> [1513692][2023-12-16T02:08:11+00:00] I: <Search:MaxPictures>
> [1513692][2023-12-16T02:08:11+00:00] I: 1
> [1513692][2023-12-16T02:08:11+00:00] I: </Search:MaxPictures>
> [1513692][2023-12-16T02:08:11+00:00] I: </Search:Picture>
> [1513692][2023-12-16T02:08:11+00:00] I: </Search:Options>
> [1513692][2023-12-16T02:08:11+00:00] I: </Search:Store>
>
> with the response looking like this, depending on the search results:
>
>
> [1337941][2023-12-16T02:07:49+00:00] O: <Search:Search>
> [1337941][2023-12-16T02:07:49+00:00] O: <Search:Status>
> [1337941][2023-12-16T02:07:49+00:00] O: 1
> [1337941][2023-12-16T02:07:49+00:00] O: </Search:Status>
> [1337941][2023-12-16T02:07:49+00:00] O: <Search:Response>
> [1337941][2023-12-16T02:07:49+00:00] O: <Search:Store>
> [1337941][2023-12-16T02:07:49+00:00] O: <Search:Status>
> [1337941][2023-12-16T02:07:49+00:00] O: 1
> [1337941][2023-12-16T02:07:49+00:00] O: </Search:Status>
> [1337941][2023-12-16T02:07:49+00:00] O: <Search:Result>
> [1337941][2023-12-16T02:07:49+00:00] O: <Search:Properties>
> [1337941][2023-12-16T02:07:49+00:00] O: <GAL:DisplayName>
> [1337941][2023-12-16T02:07:49+00:00] O: global person
> [1337941][2023-12-16T02:07:49+00:00] O: </GAL:DisplayName>
> [1337941][2023-12-16T02:07:49+00:00] O: <GAL:FirstName>
> [1337941][2023-12-16T02:07:49+00:00] O: global
> [1337941][2023-12-16T02:07:49+00:00] O: </GAL:FirstName>
> [1337941][2023-12-16T02:07:49+00:00] O: <GAL:LastName>
> [1337941][2023-12-16T02:07:49+00:00] O: person
> [1337941][2023-12-16T02:07:49+00:00] O: </GAL:LastName>
> [1337941][2023-12-16T02:07:49+00:00] O: <GAL:EmailAddress>
> [1337941][2023-12-16T02:07:49+00:00] O: global at person.com
> [1337941][2023-12-16T02:07:49+00:00] O: </GAL:EmailAddress>
> [1337941][2023-12-16T02:07:49+00:00] O: <GAL:Picture>
> [1337941][2023-12-16T02:07:49+00:00] O: <GAL:Status>
> [1337941][2023-12-16T02:07:49+00:00] O: 173
> [1337941][2023-12-16T02:07:49+00:00] O: </GAL:Status>
> [1337941][2023-12-16T02:07:49+00:00] O: </GAL:Picture>
> [1337941][2023-12-16T02:07:49+00:00] O: </Search:Properties>
> [1337941][2023-12-16T02:07:49+00:00] O: </Search:Result>
> [1337941][2023-12-16T02:07:49+00:00] O: <Search:Range>
> [1337941][2023-12-16T02:07:49+00:00] O: 0-0
> [1337941][2023-12-16T02:07:49+00:00] O: </Search:Range>
> [1337941][2023-12-16T02:07:49+00:00] O: <Search:Total>
> [1337941][2023-12-16T02:07:49+00:00] O: 1
> [1337941][2023-12-16T02:07:49+00:00] O: </Search:Total>
> [1337941][2023-12-16T02:07:49+00:00] O: </Search:Store>
> [1337941][2023-12-16T02:07:49+00:00] O: </Search:Response>
> [1337941][2023-12-16T02:07:49+00:00] O: </Search:Search>
>
>
>
> If you don't see that and the user does not show up as a result, look
> for any error output, both in that log and the general Horde log output.
>
>> Thank you very much in advance!
>> Best regards,
>> Dave.
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
>
>
More information about the horde
mailing list