<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 12/13/2010 12:45 AM, Carsten Grzemba wrote:
    <blockquote cite="mid:fc51af4a2dd9.4d05eb4d@contac-dt.de"
      type="cite">
      <pre wrap="">I found the reason: In winsync-plugin.h in the plugin config is defined a dependenciy for multi-master plugin. This seems to be wrong, because a Winsync plugin must already be registered when the multi-master plugin starts. I.e. the dependency should be reversed. The multi-master Plugin depends on the Winsync plugin.

I have removed
 
nsslapd-plugin-depends-on-named: Multimaster Replication Plugin

from the plugin configuration, and instead added the Multimaster Plugin config

nsslapd-plugin-depends-on-named: test Winsync API

Then, the Winsync plugin is loaded also if start / restart the directory server.
Can you review this? 
</pre>
    </blockquote>
    Could you supply your plug-in code?&nbsp; You need to be calling
    slapi_apib_register() to register your API in your plug-in's init()
    function.&nbsp; I'm curious to see if you are doing this in the init()
    callback, or in the start() callback.<br>
    <br>
    -NGK<br>
    <blockquote cite="mid:fc51af4a2dd9.4d05eb4d@contac-dt.de"
      type="cite">
      <pre wrap="">
Regards

----- Urspr&uuml;ngliche Nachricht -----
Von: Rich Megginson <a class="moz-txt-link-rfc2396E" href="mailto:rmeggins@redhat.com">&lt;rmeggins@redhat.com&gt;</a>
Datum: Samstag, 11. Dezember 2010, 0:59
Betreff: Re: [389-devel] Problem using winsync API
An: <a class="moz-txt-link-abbreviated" href="mailto:389-devel@lists.fedoraproject.org">389-devel@lists.fedoraproject.org</a>

</pre>
      <blockquote type="cite">
        <pre wrap="">

 
   
 
 
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">   On 12/08/2010 05:17 AM, Carsten Grzemba wrote:
   
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">     &gt; 
----- Urspr&uuml;ngliche Nachricht -----
Von: Carsten Grzemba <a class="moz-txt-link-rfc2396E" href="mailto:grzemba@contac-dt.de">&lt;grzemba@contac-dt.de&gt;</a>
Datum: Mittwoch, 8. Dezember 2010, 11:16
Betreff: [389-devel] Problem using winsync API
An: "389 Directory server developer discussion." <a class="moz-txt-link-rfc2396E" href="mailto:389-devel@lists.fedoraproject.org">&lt;389-devel@lists.fedoraproject.org&gt;</a>


     
       I try to use the Winsync API. The _winsync_plugin_init and 
_winsync_plugin_start functions are called, but apparently not 
correctly registered. 
If the actual functions should be called, nothing happens.
Debbuging shows the pointer thefunc in windows_private.c 
functions is NIL.

     
     it works only after the creation of an winsync replication agreement. After restart the directoryserver only _winsync_plugin_init and _winsync_plugin_start are called.

   
   So is there still a problem?

   
     
       &gt; Does anyone know why this is?
Thanks 
Carsten


       
         --

       
       389-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-devel@lists.fedoraproject.org">389-devel@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-devel">https://admin.fedoraproject.org/mailman/listinfo/389-devel</a>

       &gt; 
--
389-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-devel@lists.fedoraproject.org">389-devel@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-devel">https://admin.fedoraproject.org/mailman/listinfo/389-devel</a>
     
   
   

 

</pre>
        <blockquote type="cite">
          <pre wrap="">--
</pre>
        </blockquote>
        <pre wrap="">389-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-devel@lists.fedoraproject.org">389-devel@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-devel">https://admin.fedoraproject.org/mailman/listinfo/389-devel</a>
</pre>
        <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
389-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-devel@lists.fedoraproject.org">389-devel@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-devel">https://admin.fedoraproject.org/mailman/listinfo/389-devel</a></pre>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>