Re: LDAP adress book over ActiveSync

Samuel Wolf <[email protected]>
Newsgroups gmane.comp.horde.turba
Message-ID <[email protected]>
Zitat von Michael J Rubinsky <[email protected]>:

> Quoting Samuel Wolf <[email protected]>:
>
>> Zitat von Michael J Rubinsky <[email protected]>:
>>
>>> Quoting Samuel Wolf <[email protected]>:
>>>
>>>> Zitat von [email protected]:
>>>>
>>>>> Zitat von Samuel Wolf <[email protected]>:
>>>>>
>>>>>> I add a read only LDAP address book in turba, but I can not  
>>>>>> select it to sync over ActiveSync (it is not shown).
>>>>>> Is there something wrong in my setup?
>>>>>>
>>>>>> Samuel
>>>>>
>>>>> As ActiveSync has no concept of read-only calender/address book  
>>>>> you cant't sync anything you don't have write permission. You  
>>>>> can use it as GAL in the ActiveSync configuration so you can at  
>>>>> least search it on your device.
>>>>
>>>> Thanks Andreas, exactly what i am looking for.
>>>> Work fine with TouchDown App, but unfortunately not with Android 4.1.2.
>>>
>>> Proper support for this was was added in Android 2.2, so this  
>>> *should* work in 4.1.2. Do you see the SEARCH request in the  
>>> synclog?
>>
>> Yes, i see the search request and 1 match.
>> 2013-10-05T17:57:58+00:00 INFO: [19474]  
>> Horde_Core_ActiveSync_Driver::_searchGal() found 1 matches.
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O  <Search:Search>
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O   <Search:Status>
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O    1
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O   </Search:Status>
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O   <Search:Response>
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O    <Search:Store>
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O     <Search:Status>
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O      1
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O     </Search:Status>
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O     <Search:Result>
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O      <Search:Properties>
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O       <GAL:DisplayName>
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O        NAME
>> 2013-10-05T17:57:58+00:00 DEBUG: [19474] O       </GAL:DisplayName>
>> [...]
>>
>> But my Android show "None found."
>> Maybe i use the "People" App wrong?
>
> If it's returning the correct response, I doubt you are using it  
> wrong. I'm assuming the rest of the response is correct, and well  
> formed.

It look like the device search two times?
Bug in Android, tested with Motorole Razr and Motorola Razr i -> "None found."

2013-10-05T18:23:39+00:00 DEBUG: [19897] SEARCH request received for  
user samuel
2013-10-05T18:23:39+00:00 INFO: [19897] Device entry exists for  
ANDROIDxxxxxxxxxx, updating userAgent and version.
2013-10-05T18:23:39+00:00 INFO: [19897] Request being handled for  
device: ANDROIDxxxxxxxxxx, Supporting protocol version: 12.1, Using  
Horde_ActiveSync v2.8.2
2013-10-05T18:23:39+00:00 INFO: [ANDROIDxxxxxxxxxx] Handling SEARCH command.
2013-10-05T18:23:39+00:00 DEBUG: [19897] I  <Search:Search>
2013-10-05T18:23:39+00:00 DEBUG: [19897] I   <Search:Store>
2013-10-05T18:23:39+00:00 DEBUG: [19897] I    <Search:Name>
2013-10-05T18:23:39+00:00 DEBUG: [19897] I      GAL
2013-10-05T18:23:39+00:00 DEBUG: [19897] I    </Search:Name>
2013-10-05T18:23:39+00:00 DEBUG: [19897] I    <Search:Query>
2013-10-05T18:23:39+00:00 DEBUG: [19897] I      name
2013-10-05T18:23:39+00:00 DEBUG: [19897] I    </Search:Query>
2013-10-05T18:23:39+00:00 DEBUG: [19897] I    <Search:Options>
2013-10-05T18:23:39+00:00 DEBUG: [19897] I     <Search:Range>
2013-10-05T18:23:39+00:00 DEBUG: [19897] I       0-20
2013-10-05T18:23:39+00:00 DEBUG: [19897] I     </Search:Range>
2013-10-05T18:23:39+00:00 DEBUG: [19897] I    </Search:Options>
2013-10-05T18:23:39+00:00 DEBUG: [19897] I   </Search:Store>
2013-10-05T18:23:39+00:00 DEBUG: [19897] I  </Search:Search>
2013-10-05T18:23:40+00:00 INFO: [19897]  
Horde_Core_ActiveSync_Driver::_searchGal() found 1 matches.
2013-10-05T18:23:40+00:00 DEBUG: [19897] O  <Search:Search>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O   <Search:Status>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O    1
2013-10-05T18:23:40+00:00 DEBUG: [19897] O   </Search:Status>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O   <Search:Response>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O    <Search:Store>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O     <Search:Status>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O      1
2013-10-05T18:23:40+00:00 DEBUG: [19897] O     </Search:Status>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O     <Search:Result>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O      <Search:Properties>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       <GAL:DisplayName>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O        Name Second name
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       </GAL:DisplayName>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       <GAL:Company>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O        Company
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       </GAL:Company>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       <GAL:FirstName>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O        Name
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       </GAL:FirstName>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       <GAL:LastName>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O        Second name
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       </GAL:LastName>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       <GAL:HomePhone>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O        123456789
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       </GAL:HomePhone>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       <GAL:MobilePhone>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O        +49123456789
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       </GAL:MobilePhone>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       <GAL:EmailAddress>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O        [email protected]
2013-10-05T18:23:40+00:00 DEBUG: [19897] O       </GAL:EmailAddress>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O      </Search:Properties>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O     </Search:Result>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O     <Search:Range>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O      0
2013-10-05T18:23:40+00:00 DEBUG: [19897] O     </Search:Range>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O     <Search:Total>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O      1
2013-10-05T18:23:40+00:00 DEBUG: [19897] O     </Search:Total>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O    </Search:Store>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O   </Search:Response>
2013-10-05T18:23:40+00:00 DEBUG: [19897] O  </Search:Search>
2013-10-05T18:23:40+00:00 DEBUG: Maximum memory usage for ActiveSync  
request: xxxxxxxxxx
2013-10-05T18:23:40+00:00 INFO: [19897]  
Horde_Core_ActiveSync_Driver::authenticate() attempt for samuel
2013-10-05T18:23:40+00:00 DEBUG: [19897] SEARCH request received for  
user samuel
2013-10-05T18:23:40+00:00 INFO: [19897] Device entry exists for  
ANDROIDxxxxxxxxxx, updating userAgent and version.
2013-10-05T18:23:40+00:00 INFO: [19897] Request being handled for  
device: ANDROIDxxxxxxxxxx, Supporting protocol version: 12.1, Using  
Horde_ActiveSync v2.8.2
2013-10-05T18:23:40+00:00 INFO: [ANDROIDxxxxxxxxxx] Handling SEARCH command.
2013-10-05T18:23:40+00:00 DEBUG: [19897] I  <Search:Search>
2013-10-05T18:23:40+00:00 DEBUG: [19897] I   <Search:Store>
2013-10-05T18:23:40+00:00 DEBUG: [19897] I    <Search:Name>
2013-10-05T18:23:40+00:00 DEBUG: [19897] I      GAL
2013-10-05T18:23:40+00:00 DEBUG: [19897] I    </Search:Name>
2013-10-05T18:23:40+00:00 DEBUG: [19897] I    <Search:Query>
2013-10-05T18:23:40+00:00 DEBUG: [19897] I      name
2013-10-05T18:23:40+00:00 DEBUG: [19897] I    </Search:Query>
2013-10-05T18:23:40+00:00 DEBUG: [19897] I    <Search:Options>
2013-10-05T18:23:40+00:00 DEBUG: [19897] I     <Search:Range>
2013-10-05T18:23:40+00:00 DEBUG: [19897] I       0-20
2013-10-05T18:23:40+00:00 DEBUG: [19897] I     </Search:Range>
2013-10-05T18:23:40+00:00 DEBUG: [19897] I    </Search:Options>
2013-10-05T18:23:40+00:00 DEBUG: [19897] I   </Search:Store>
2013-10-05T18:23:40+00:00 DEBUG: [19897] I  </Search:Search>
2013-10-05T18:23:41+00:00 INFO: [19897]  
Horde_Core_ActiveSync_Driver::_searchGal() found 1 matches.
2013-10-05T18:23:41+00:00 DEBUG: [19897] O  <Search:Search>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O   <Search:Status>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O    1
2013-10-05T18:23:41+00:00 DEBUG: [19897] O   </Search:Status>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O   <Search:Response>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O    <Search:Store>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O     <Search:Status>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O      1
2013-10-05T18:23:41+00:00 DEBUG: [19897] O     </Search:Status>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O     <Search:Result>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O      <Search:Properties>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       <GAL:DisplayName>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O        Name Second name
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       </GAL:DisplayName>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       <GAL:Company>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O        Company
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       </GAL:Company>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       <GAL:FirstName>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O        Name
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       </GAL:FirstName>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       <GAL:LastName>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O        Second name
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       </GAL:LastName>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       <GAL:HomePhone>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O        123456789
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       </GAL:HomePhone>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       <GAL:MobilePhone>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O        +49123456789
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       </GAL:MobilePhone>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       <GAL:EmailAddress>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O        [email protected]
2013-10-05T18:23:41+00:00 DEBUG: [19897] O       </GAL:EmailAddress>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O      </Search:Properties>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O     </Search:Result>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O     <Search:Range>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O      0
2013-10-05T18:23:41+00:00 DEBUG: [19897] O     </Search:Range>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O     <Search:Total>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O      1
2013-10-05T18:23:41+00:00 DEBUG: [19897] O     </Search:Total>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O    </Search:Store>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O   </Search:Response>
2013-10-05T18:23:41+00:00 DEBUG: [19897] O  </Search:Search>

>
> -- 
> mike
>
> The Horde Project (www.horde.org)
> [email protected]



-- 
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.