auth/credentials: don't ignore "client use kerberos" and --use-kerberos for machine...
[samba.git] / source3 / libnet / libnet_dssync.h
index a5a00742c583db4305cc442794990d52f1c15775..d426d8bedc10109fab58b560b3272aff04bd785f 100644 (file)
@@ -18,6 +18,9 @@
  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "../librpc/gen_ndr/drsuapi.h"
+#include "../librpc/gen_ndr/drsblobs.h"
+
 struct dssync_context;
 
 struct dssync_ops {
@@ -27,6 +30,11 @@ struct dssync_ops {
                                    TALLOC_CTX *mem_ctx,
                                    struct drsuapi_DsReplicaObjectListItemEx *objects,
                                    struct drsuapi_DsReplicaOIDMapping_Ctr *mappings);
+       NTSTATUS (*process_links)(struct dssync_context *ctx,
+                                 TALLOC_CTX *mem_ctx,
+                                 uint32_t count,
+                                 struct drsuapi_DsReplicaLinkedAttribute *links,
+                                 struct drsuapi_DsReplicaOIDMapping_Ctr *mappings);
        NTSTATUS (*finish)(struct dssync_context *ctx, TALLOC_CTX *mem_ctx,
                           struct replUpToDateVectorBlob *new_utdv);
 };
@@ -55,3 +63,11 @@ struct dssync_context {
 };
 
 extern const struct dssync_ops libnet_dssync_keytab_ops;
+extern const struct dssync_ops libnet_dssync_passdb_ops;
+
+/* The following definitions come from libnet/libnet_dssync.c  */
+
+NTSTATUS libnet_dssync_init_context(TALLOC_CTX *mem_ctx,
+                                   struct dssync_context **ctx_p);
+NTSTATUS libnet_dssync(TALLOC_CTX *mem_ctx,
+                      struct dssync_context *ctx);