<!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 05/06/2011 04:37 AM, Carsten Grzemba wrote:
    <blockquote cite="mid:fc368f91100f.4dc3eb6d@contac-dt.de"
      type="cite">
      <pre wrap="">Hi,

I have a problem with syncing users with AD W2k3. The Setup works fine with W2k8.

If I start a replica initialization 
send_dirsync_search 
got no results from W2k3 AD. No errors seen in the log. 

[06/May/2011:10:59:20 +0200] NSMMReplicationPlugin - Beginning total update of replica "agmt="cn=MDVH" (srv-dc-vlan:636)".
[06/May/2011:10:59:20 +0200] - =&gt; windows_private_null_dirsync_control
[06/May/2011:10:59:20 +0200] - &lt;= windows_private_null_dirsync_control
[06/May/2011:10:59:20 +0200] - =&gt; windows_private_get_windows_subtree
[06/May/2011:10:59:20 +0200] - &lt;= windows_private_get_windows_subtree
[06/May/2011:10:59:20 +0200] - =&gt; windows_private_get_directory_replarea
[06/May/2011:10:59:20 +0200] - &lt;= windows_private_get_directory_replarea
[06/May/2011:10:59:20 +0200] - =&gt; windows_private_get_api_cookie
[06/May/2011:10:59:20 +0200] - &lt;= windows_private_get_api_cookie
[06/May/2011:10:59:20 +0200] - =&gt; windows_dirsync_inc_run
[06/May/2011:10:59:20 +0200] - =&gt; send_dirsync_search
[06/May/2011:10:59:20 +0200] - =&gt; windows_conn_connected
[06/May/2011:10:59:20 +0200] - &lt;= windows_conn_connected
[06/May/2011:10:59:20 +0200] - =&gt; windows_private_get_windows_subtree
[06/May/2011:10:59:20 +0200] - &lt;= windows_private_get_windows_subtree
[06/May/2011:10:59:20 +0200] - =&gt; windows_private_dirsync_control
[06/May/2011:10:59:20 +0200] - &lt;= windows_private_dirsync_control
[06/May/2011:10:59:20 +0200] - Calling dirsync search request plugin
[06/May/2011:10:59:20 +0200] - =&gt; windows_private_get_api_cookie
[06/May/2011:10:59:20 +0200] - &lt;= windows_private_get_api_cookie
[06/May/2011:10:59:20 +0200] - Sending dirsync search request
[06/May/2011:10:59:20 +0200] - &lt;= send_dirsync_search
[06/May/2011:10:59:20 +0200] - =&gt; windows_conn_get_search_result
[06/May/2011:10:59:20 +0200] - =&gt; windows_conn_connected
[06/May/2011:10:59:20 +0200] - &lt;= windows_conn_connected
[06/May/2011:10:59:20 +0200] - =&gt; windows_private_dirsync_has_more
[06/May/2011:10:59:20 +0200] - &lt;= windows_private_dirsync_has_more
[06/May/2011:10:59:20 +0200] - &lt;= windows_conn_get_search_result
[06/May/2011:10:59:21 +0200] - =&gt; windows_private_dirsync_has_more
[06/May/2011:10:59:21 +0200] - &lt;= windows_private_dirsync_has_more
[06/May/2011:10:59:21 +0200] - &lt;= windows_dirsync_inc_run
[06/May/2011:10:59:21 +0200] - =&gt; windows_private_save_dirsync_cookie
[06/May/2011:10:59:21 +0200] - =&gt; slapi_control_present (looking for 1.3.6.1.4.1.42.2.27.8.5.1)[06/May/2011:10:59:21 +0200] - &lt;= slapi_control_present 0 (NO CONTROLS)
[06/May/2011:10:59:21 +0200] - =&gt; slapi_control_present (looking for 2.16.840.1.113730.3.4.12)
[06/May/2011:10:59:21 +0200] - &lt;= slapi_control_present 0 (NO CONTROLS)
[06/May/2011:10:59:21 +0200] - =&gt; slapi_control_present (looking for 2.16.840.1.113730.3.4.18)
[06/May/2011:10:59:21 +0200] - &lt;= slapi_control_present 0 (NO CONTROLS)
[06/May/2011:10:59:21 +0200] - modify_update_last_modified_attr
[06/May/2011:10:59:21 +0200] - Calling plugin 'Distributed Numeric Assignment internal preop plugin' #0 type 421
[06/May/2011:10:59:21 +0200] dna-plugin - --&gt; dna_pre_op
[06/May/2011:10:59:21 +0200] dna-plugin - --&gt; dna_get_dn
[06/May/2011:10:59:21 +0200] dna-plugin - &lt;-- dna_get_dn
[06/May/2011:10:59:21 +0200] - =&gt; slapi_control_present (looking for 2.16.840.1.113730.3.4.12)
[06/May/2011:10:59:21 +0200] - &lt;= slapi_control_present 0 (NO CONTROLS)
[06/May/2011:10:59:21 +0200] - =&gt; slapi_control_present (looking for 2.16.840.1.113730.3.4.18)
[06/May/2011:10:59:21 +0200] - &lt;= slapi_control_present 0 (NO CONTROLS)
[06/May/2011:10:59:21 +0200] - =&gt; slapi_reslimit_get_integer_limit() conn=0x0, handle=2
[06/May/2011:10:59:21 +0200] - &lt;= slapi_reslimit_get_integer_limit() returning NO VALUE
[06/May/2011:10:59:21 +0200] - =&gt; slapi_reslimit_get_integer_limit() conn=0x0, handle=1
[06/May/2011:10:59:21 +0200] - &lt;= slapi_reslimit_get_integer_limit() returning NO VALUE
[06/May/2011:10:59:21 +0200] - =&gt; compute_limits: sizelimit=-1, timelimit=-1
[06/May/2011:10:59:21 +0200] - Calling plugin 'ACL preoperation' #1 type 403
[06/May/2011:10:59:21 +0200] - Calling plugin 'deref' #3 type 403
[06/May/2011:10:59:21 +0200] deref-plugin - --&gt; deref_pre_search
[06/May/2011:10:59:21 +0200] deref-plugin - &lt;-- deref_pre_op
[06/May/2011:10:59:21 +0200] - Calling plugin 'Legacy replication preoperation plugin' #6 type
403
[06/May/2011:10:59:21 +0200] - Calling plugin 'Multimaster replication preoperation plugin' #8
type 403
[06/May/2011:10:59:21 +0200] - =&gt; send_ldap_search_entry (cn=MDVH,cn=replica,cn=dc\3Dmdvh\2Cdc\3Ddom,cn=mapping tree,cn=config)
[06/May/2011:10:59:21 +0200] - Calling plugin 'deref' #3 type 410
[06/May/2011:10:59:21 +0200] - Calling plugin 'Legacy replication preoperation plugin' #6 type
410
[06/May/2011:10:59:21 +0200] - &lt;= send_ldap_search_entry
[06/May/2011:10:59:21 +0200] - =&gt; send_ldap_result 0::
[06/May/2011:10:59:21 +0200] - &lt;= send_ldap_result
[06/May/2011:10:59:21 +0200] - =&gt; entry_apply_mods
[06/May/2011:10:59:21 +0200] - &lt;= entry_apply_mods 0
[06/May/2011:10:59:21 +0200] dna-plugin - --&gt; dna_is_config
[06/May/2011:10:59:21 +0200] dna-plugin - &lt;-- dna_is_config
[06/May/2011:10:59:21 +0200] dna-plugin - &lt;-- dna_pre_op
[06/May/2011:10:59:21 +0200] - Calling plugin 'Legacy replication internal preoperation plugin' #1 type 421
[06/May/2011:10:59:21 +0200] - Calling plugin 'Multimaster replication internal preoperation plugin' #2 type 421
[06/May/2011:10:59:21 +0200] - =&gt; entry_apply_mods
[06/May/2011:10:59:21 +0200] - &lt;= entry_apply_mods 0
[06/May/2011:10:59:21 +0200] - =&gt; send_ldap_result 0::
[06/May/2011:10:59:21 +0200] - &lt;= send_ldap_result
[06/May/2011:10:59:21 +0200] - ps_service_persistent_searches: entry "cn=MDVH,cn=replica,cn=dc\3Dmdvh\2Cdc\3Ddom,cn=mapping tree,cn=config" not enqueued on any persistent search lists
[06/May/2011:10:59:21 +0200] - Calling plugin 'Retrocl internal postoperation plugin' #0 type 521
[06/May/2011:10:59:21 +0200] - not applying change if not logging
[06/May/2011:10:59:21 +0200] - Calling plugin 'Class of Service internalpostoperation plugin' #1 type 521
[06/May/2011:10:59:21 +0200] - --&gt; cos_post_op
[06/May/2011:10:59:21 +0200] - --&gt; cos_cache_change_notify
[06/May/2011:10:59:21 +0200] - --&gt; cos_cache_template_index_bsearch
[06/May/2011:10:59:21 +0200] - --&gt; cos_cache_getref
[06/May/2011:10:59:21 +0200] - &lt;-- cos_cache_getref
[06/May/2011:10:59:21 +0200] - &lt;-- cos_cache_template_index_bsearch
[06/May/2011:10:59:21 +0200] - &lt;-- cos_cache_change_notify
[06/May/2011:10:59:21 +0200] - &lt;-- cos_post_op
[06/May/2011:10:59:21 +0200] - Calling plugin 'Legacy replication internal postoperation plugin' #2 type 521
[06/May/2011:10:59:21 +0200] - Calling plugin 'Linked Attributes internal postop plugin' #3 type 521
[06/May/2011:10:59:21 +0200] linkedattrs-plugin - --&gt; linked_attrs_mod_post_op
[06/May/2011:10:59:21 +0200] - Calling plugin 'Managed Entries internal postop plugin' #4 type
521
[06/May/2011:10:59:21 +0200] managed-entries-plugin - --&gt; mep_mod_post_op
[06/May/2011:10:59:21 +0200] managed-entries-plugin - --&gt; mep_oktodo
[06/May/2011:10:59:21 +0200] managed-entries-plugin - &lt;-- mep_oktodo
[06/May/2011:10:59:21 +0200] managed-entries-plugin - --&gt; mep_get_dn
[06/May/2011:10:59:21 +0200] managed-entries-plugin - &lt;-- mep_get_dn
[06/May/2011:10:59:21 +0200] managed-entries-plugin - --&gt; mep_dn_is_config
[06/May/2011:10:59:21 +0200] managed-entries-plugin - &lt;-- mep_dn_is_config
[06/May/2011:10:59:21 +0200] managed-entries-plugin - --&gt; mep_isrepl
[06/May/2011:10:59:21 +0200] managed-entries-plugin - &lt;-- mep_isrepl
[06/May/2011:10:59:21 +0200] managed-entries-plugin - &lt;-- mep_mod_post_op
[06/May/2011:10:59:21 +0200] - Calling plugin 'Multimaster replication internal postoperation plugin' #5 type 521
[06/May/2011:10:59:21 +0200] - Calling plugin 'Roles internalpostoperation plugin' #6 type 521
[06/May/2011:10:59:21 +0200] - &lt;= windows_private_save_dirsync_cookie
[06/May/2011:10:59:21 +0200] - =&gt; windows_release_replica
[06/May/2011:10:59:21 +0200] - =&gt; windows_conn_start_linger
[06/May/2011:10:59:21 +0200] NSMMReplicationPlugin - agmt="cn=MDVH" (srv-dc-vlan:636): Beginning linger on the connection
[06/May/2011:10:59:21 +0200] - =&gt; windows_conn_connected
[06/May/2011:10:59:21 +0200] - &lt;= windows_conn_connected
[06/May/2011:10:59:21 +0200] - &lt;= windows_conn_start_linger
[06/May/2011:10:59:21 +0200] - &lt;= windows_release_replica
[06/May/2011:10:59:21 +0200] NSMMReplicationPlugin - Finished total update of replica "agmt="cn=MDVH" (srv-dc-vlan09:636)". Sent 0 entries.
[06/May/2011:10:59:21 +0200] - total update setting consumer RUV:
[06/May/2011:10:59:21 +0200] NSMMReplicationPlugin - consumer: {replicageneration} 4da43ace0000004c0000
[06/May/2011:10:59:21 +0200] NSMMReplicationPlugin - consumer: {replica 76 <a class="moz-txt-link-freetext" href="ldap://ux-ldap01.mdvh.dom:389">ldap://ux-ldap01.mdvh.dom:389</a>} 4da45acc0000004c0000 4da45ad90000004c0000 00000000
...

Its a binary, build by myself:
bash-3.00# /opt/389ds/sbin/ns-slapd -v
389 Project
389-Directory/1.2.9.a1 B2011.125.756

Any hints?
</pre>
    </blockquote>
    Try it with the replication error log level -
    <a class="moz-txt-link-freetext" href="http://directory.fedoraproject.org/wiki/FAQ#Troubleshooting">http://directory.fedoraproject.org/wiki/FAQ#Troubleshooting</a><br>
    <br>
    Also, looks like you are using the master branch from the git
    repository.&nbsp; That is currently unstable.&nbsp; I suggest using the latest
    stable branch 389-ds-base-1.2.8<br>
    <blockquote cite="mid:fc368f91100f.4dc3eb6d@contac-dt.de"
      type="cite">
      <pre wrap="">
Thanks 
Carsten
</pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
389 users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>