Re: Littles questions about SyncML

Michael J Rubinsky <[email protected]>
Newsgroups gmane.comp.horde.sync
Message-ID <20130110124538.Horde.Ts3HeF_qRkuK26GqLMhbgw1@h4.theupstairsroom.com>
Quoting Michael J Rubinsky <[email protected]>:

> Quoting Gerard Breiner <[email protected]>:
>
>> Le 9 janv. 2013 à 17:34, Michael J Rubinsky a écrit :
>>
>>>
>>> Quoting Gerard Breiner <[email protected]>:
>>>
>>>> Le 9 janv. 2013 à 15:33, Michael J Rubinsky a écrit :
>>>>
>>>>>
>>>>> Quoting Gerard Breiner <[email protected]>:
>>>>>
>>>>>> Le 6 janv. 2013 à 01:51, Michael Rubinsky a écrit :
>>>>>>
>>>>>>> Quoting Gerard Breiner <[email protected]>>
>>>>>>>> Le 5 janv. 2013 à 00:14, Simon Brereton a écrit :
>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Jan 4, 2013 6:08 PM, "Gerard Breiner"
>>>>>>>>> <[email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>> Hello...
>>>>>>>>>>
>>>>>>>>>> We use Horde 5.0.2 under Debian Squeeze Kronolith H5 4.0.1.
>>>>>>>>>> I would want to synchronize calendars and contacts with  
>>>>>>>>>> mobiles phones
>>>>>>>>>>
>>>>>>>>>>  I guess ActiveSync require a Microsoft exchange server ?
>>>>>>>>>> As I do not have one I'm trying to use SyncML that is built in
>>>>>>>>> pear module horde.
>>>>>>>>>> So I read  http://wiki.horde.org/SyncHowTo
>>>>>>>>>> Now I'm testing on a  funv10 on a Galaxie ace GT-S5839i
>>>>>>>>>> Username and horde password
>>>>>>>>>> url : https://webmail5.domain/rpc.php
>>>>>>>>>>
>>>>>>>>>> I get a message : "network error"
>>>>>>>>>> There is no log in /tmp/sync
>>>>>>>>>>
>>>>>>>>>> Do I need to configure something in horde to enable syncML ?
>>>>>>>>> Do I need to install a syncML server ?
>>>>>>>>>
>>>>>>>>> No ActiveSync server required!  Just follow the install
>>>>>>>>> instructions and use a mobile client that can configure an
>>>>>>>>> exchange account.
>>>>>>>>>
>>>>>>>>> Simon
>>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks Simon for this fast and good answer. It definitely help me.
>>>>>>>> So I enabled activesync in horde and tried to create an account
>>>>>>>> exchange activesync on my galaxy ace  but I get the message "
>>>>>>>> Can't connect to the server"
>>>>>>>> On the server tail /var/log/messages show up : [horde] SOAP call:
>>>>>>>> ResolveNames(smtp:[email protected]) by gbreiner
>>>>>>>> serviced in 0 seconds, sent 727 bytes in response [pid 30593 on
>>>>>>>> line 95 of "/www/horde5/pear/php/Horde/Rpc/Soap.php"]
>>>>>>>>
>>>>>>>> I managed to create an exchange account in my ical (macbook) but I
>>>>>>>> get the message  (on the mac)
>>>>>>>> "Ical can't update the exchange account" .
>>>>>>>>
>>>>>>>> Best regards
>>>>>>>> --
>>>>>>>> sync mailing list
>>>>>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>>>>>>> To unsubscribe, mail: [email protected]
>>>>>>>>
>>>>>>> http://wiki.horde.org/ActiveSync
>>>>>>>
>>>>>>> Mike
>>>>>>> Sent from mobile
>>>>>>>
>>>>>>> Gerard Breiner <[email protected]> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> Hi mike, I read and read again this wiki before to ask you…. Maybe I
>>>>>> missed something ….
>>>>>> However I configured apache webmail server as virtualhost  with ssl…
>>>>>> Could there be an issue with the ssl certificates ?
>>>>>> Here is my config apache … Could you tell me please if  
>>>>>> something is wrong ?
>>>>>
>>>>>> ## Allowing Horde to sync with mobile devices using the mobile
>>>>>> device's support for Microsoft Exchange/ActiveSync
>>>>>> #Alias /Microsoft-Server-ActiveSync /www/horde5/rpc.php
>>>>>> Alias /Microsoft-Server-ActiveSync /rpc.php
>>>>>> Alias /autodiscover/autodiscover.xml  /www/horde5/rpc.php
>>>>>
>>>>>
>>>>> Why did you change the Alias directive? That doesn't look right.
>>>>> --
>>>>> mike
>>>>>
>>>>> The Horde Project (www.horde.org)
>>>>> [email protected]
>>>>
>>>> Humm… DocumentRoot is /www/horde5… given rpc.php is under
>>>> /www/horde5/ it comes  rpc.php is under the root /  no?
>>>
>>> No. The Alias directive maps URLs to filesystem paths, not to other
>>> URLs. The way you have it configured, the ActiveSync endpoint is
>>> redirected to a file named rpc.php in your filesystem's root directory.
>>>
>>>> Another thing I tried is to create an account exchange ActiveSync on
>>>> My Ical iPad but apparently the exchange of Ical is EWS and not
>>>> ActiveSync. Does a workaround exist  so that ical has the ActiveSync
>>>> capability ?
>>>
>>> No. This is what the client was written to work with, we can't tell
>>> the client to speak a different protocol.
>>>
>>>> I make another test on my mobile but SyncML this time and with an
>>>> url http://horde5.domain/rpc.php and it works very fine but only
>>>> from horde to my mobile.
>>>> It seems that with an url https there is an issue with certificates
>>>> that are not recognized as authority.
>>>
>>> Again, this sounds like a client issue. The client probably doesn't
>>> recognize the CA.
>>>
>>> --
>>> mike
>>>
>>> The Horde Project (www.horde.org)
>>> [email protected]
>>
>> I forgot how works Alias directive, sorry…. So I corrected my  
>> mistake : Alias /Microsoft-Server-ActiveSync /www/horde5/rpc.php   
>> and not /rpc.php…. Many thanks Mike.
>> Then I tried again to create an account exchange activesync  from  
>> my mobile (client RemoSync of Remoba) which is exchange activeSync.
>> I face the error "Client does not support the protocol version".  
>> Yet I tried all of each version available in  
>> $conf[activesync][version]….
>
> Well, I downloaded a trial of RemoSync. It connected fine, and  
> synced Contacts/Calendar/Tasks successfully. It also successfully  
> synched email according to the synclog (no errors, all data was  
> transferred to client, client acknowledged data) but no email is  
> actually displayed by client. Seems like a broken client to me.

Ugh, and to make matters worse, the RemoSync client uses the exact  
same device id as the native client. That is most definitely broken  
behavior, as it interferes with any other account on the device.
-- 
mike

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

-- 
sync mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
smime.p7s (application/pkcs7-signature, 5.9 KB) - not displayed
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.