[horde] ActiveSync GAL setup help - search returns no contacts
Michael J Rubinsky
mrubinsk at horde.org
Sat Feb 2 19:21:58 UTC 2013
Quoting "James B. MacLean" <macleajb at ednet.ns.ca>:
> Horde 5.0.3
> Turba 4.0.2
>
> I have set:
>
> $conf['gal']['addressbook'] = 'localldap';
>
> in
>
> /var/www/horde/turba/config/conf.php
>
> Global Address Book - localldap is working fine returning users.
>
> Log only showing:
>
> 2013-02-01T18:32:58-04:00 INFO: [Appl88041BV1A4T] Handling SEARCH command.
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I <Search:Search>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I <Search:Store>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I <Search:Name>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I GAL
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I </Search:Name>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I <Search:Query>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I Ma
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I </Search:Query>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I <Search:Options>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I <Search:Range>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I 0-50
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I </Search:Range>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I </Search:Options>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I </Search:Store>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] I </Search:Search>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] O <Search:Search>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] O <Search:Status>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] O 1
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] O <Search:Status/>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] O <Search:Response>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] O <Search:Store>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] O <Search:Status>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] O 1
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] O <Search:Status/>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] O <Search:Store/>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] O <Search:Response/>
> 2013-02-01T18:32:58-04:00 DEBUG: [32543] O <Search:Search/>
> 2013-02-01T18:32:58-04:00 INFO: [32543] User macleajb logged off
>
> I confirmed that localldap is being found in "contacts_search" function in:
>
> /usr/share/pear/Horde/Core/ActiveSync/Connector.php
You mean you see the ldap server being queried? When you perform a GAL lookup?
> and that in the same function:
>
> $this->_registry->contacts->search($query, $opts)[0] is empty.
This wouldn't normally contain anything anyway. It would be keyed by
the search term.
> Is there some setup piece that I have missed? If not, where would I
> find the function :
>
> $this->_registry->contacts->search()
>
> So that I might find out why it is not returning anything?
If you are sure the LDAP server is being queries, you are going to
have to trace the search function to find out why it's not returning
expected results. I am assuming you have at least one of: 'firstname',
'lastname', 'alias', 'name', 'email' defined in the ldap source?
--
mike
The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6062 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.horde.org/archives/horde/attachments/20130202/e89120a9/attachment.bin>
More information about the horde
mailing list