<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thank you very much for your explanations, Patrick. Following your
    advices I think I'm (hopefully) close to having a correct
    configuration. Starting from an empty syncevolution configuration I
    apply the following commands:<br>
    <p><b>### First command</b><b> ###</b><br>
    </p>
    <p>syncevolution --configure  \<br>
                            <strong>keyring=no</strong> <span><strong>SSLVerifyServer=False</strong></span> 
      \<br>
                             --template webdav <br>
                             syncURL=<span><a
          class="moz-txt-link-freetext"
          href="https://localhost:443/sabredav/addressbookserver.php/">https://localhost:443/sabredav/addressbookserver.php/</a></span> 
      \<br>
                              username=admin password=admin  \<br>
                              target-config@webdav<br>
    </p>
    <p>RETURNS:</p>
    <p>[INFO] addressbook: looking for databases...<br>
      [INFO] addressbook: okay<br>
      [INFO] calendar: looking for databases...<br>
      [INFO] calendar: no database to synchronize<br>
      [INFO] memo: looking for databases...<br>
      [INFO] memo: no database to synchronize<br>
      [INFO] todo: looking for databases...<br>
      [INFO] todo: no database to synchronize<br>
    </p>
    <p>This is the expected output because on the WebDAV server I have
      only set up an address book so far.<br>
    </p>
    <p><b>### Second command ###</b></p>
    <p>syncevolution --configure  \<br>
                              databaseUser=admin  \<br>
                              "databasePassword=admin" \<br>
                            addressbook/backend=carddav  \<br>
                              addressbook/database=<strong><a
          class="moz-txt-link-freetext"
          href="https://localhost:443/sabredav/addressbookserver.php/">https://localhost:443/sabredav/addressbookserver.php/</a></strong>addressbooks/admin/ 

      \<br>
                              @webdav   addressbook <br>
    </p>
    <p><b>### Third command ###</b></p>
    <p><em>syncevolution --configure </em><strong><br>
                            keyring=no</strong><strong>
        SSLVerifyServer=False <br>
                            </strong>--template<strong> </strong><span>SyncEvolution_Client</span><em>
        <br>
                            --sync-property remoteDeviceId=</em>ST23K3J5I4JX<em>
        <br>
                            username=admin password=admin <br>
      </em>                    --source-property
      addressbook/uri=addressbook <br>
                          --source-property calendar/uri=events <br>
                          --source-property todo/uri=tasks <br>
                          --source-property memo/uri=memo <br>
                          Palm-TH55@webdav<br>
    </p>
    <p>RETURNS:</p>
    [INFO] addressbook: looking for databases...<br>
    [INFO] addressbook: no database to synchronize<br>
    [INFO] calendar: looking for databases...<br>
    [INFO] calendar: backend failed: error code from SyncEvolution
    authorization failed (remote, status 401): calendar: syncURL not
    configured and username admin does not contain a domain<br>
    [INFO] memo: looking for databases...<br>
    [INFO] memo: backend failed: error code from SyncEvolution
    authorization failed (remote, status 401): memo: syncURL not
    configured and username admin does not contain a domain<br>
    [INFO] todo: looking for databases...<br>
    [INFO] todo: backend failed: error code from SyncEvolution
    authorization failed (remote, status 401): todo: syncURL not
    configured and username admin does not contain a domain<br>
    <br>
    Here I'm stuck. What am I missing so that the database on at the
    WebDAV server cannot be found?<br>
    <br>
    Thanks.<br>
    <br>
    Helge
    <div class="moz-cite-prefix">On 1/13/14 9:11 AM, Patrick Ohly wrote:<br>
    </div>
    <blockquote
      cite="mid:1389600679.5855.404.camel@pohly-mobl1.fritz.box"
      type="cite">
      <pre wrap="">On Sun, 2014-01-12 at 03:55 +0100, Helge Kraak wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi,

during my journey of setting up a synchronization of a Palm Tungsten
TX running the Synthesis SyncML application and a SabreDAV server I
tried the following configuration command adapted from the
syncevolution manual:

syncevolution --configure \

                     SSLVerifyServer=False \

                     databaseUser=admin \

                     "databasePassword=admin" \

                     addressbook/backend=carddav \


addressbook/database=<a class="moz-txt-link-freetext" href="https://localhost:443/sabredav/addressbookserver.php/">https://localhost:443/sabredav/addressbookserver.php/</a> \

                     calendar/backend=caldav \


calendar/database=<a class="moz-txt-link-freetext" href="https://localhost:443/sabredav/addressbookserver.php/">https://localhost:443/sabredav/addressbookserver.php/</a> \

                     @webdav \

                     calendar addressbook

 

It returns this error message:

[ERROR 00:00:00] per-peer (unshared) properties not allowed:
SSLVerifyServer 

With other configuration commands not dealing with this specific
SyncML - WebDAV setup I can use this switch.
</pre>
      </blockquote>
      <pre wrap="">
Configure options are applied to what is mentioned as target of the
configuration change. In this case, that are four things:
     1. The @webdav context = ~/.config/syncevolution/webdav/config.ini
     2. The calendar source in that context =
        ~/.config/syncevolution/webdav/sources/calendar/config.ini
     3. The addressbook source in that context =
        ~/.config/syncevolution/webdav/sources/addressbook/config.ini
     4. The global config = ~/.config/syncevolution/config.ini

The last one is a somewhat unfortunate special case; only very few
options go into it, so typically it doesn't get changed.

In you case, SSLVerifyServer cannot be set in any of these places.
Instead of silently ignoring it, you get the error. What you can do is
set SSLVerifyServer in the sync config for the Palm. It'll be picked up
from there by the backend.

Not very intuitive, I know, and might even lead to potential conflicts
(what if the option has some meaning there different from what the
source expects?). I just don't have a good solution.

One solution would be to have databaseSSLVerify* options which can go
into the source configs. But that's leading to a further proliferation
of similar options.

</pre>
    </blockquote>
    <br>
  </body>
</html>