summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_samsync.h2
-rw-r--r--source3/libnet/libnet_samsync_ldif.c2
-rw-r--r--source3/utils/net_rpc_samsync.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/libnet/libnet_samsync.h b/source3/libnet/libnet_samsync.h
index 125312888e..38ef9c56a5 100644
--- a/source3/libnet/libnet_samsync.h
+++ b/source3/libnet/libnet_samsync.h
@@ -28,7 +28,7 @@ struct samsync_context {
enum net_samsync_mode mode;
const struct dom_sid *domain_sid;
const char *domain_sid_str;
- const char *ldif_filename;
+ const char *output_filename;
void *private_data;
};
diff --git a/source3/libnet/libnet_samsync_ldif.c b/source3/libnet/libnet_samsync_ldif.c
index 448c7c153e..86de2ab253 100644
--- a/source3/libnet/libnet_samsync_ldif.c
+++ b/source3/libnet/libnet_samsync_ldif.c
@@ -1169,7 +1169,7 @@ NTSTATUS fetch_sam_entries_ldif(TALLOC_CTX *mem_ctx,
status = ldif_init_context(mem_ctx,
database_id,
- ctx->ldif_filename,
+ ctx->output_filename,
ctx->domain_sid_str,
&ldif_ctx);
if (!NT_STATUS_IS_OK(status)) {
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c
index a7c6c30e34..90637e294d 100644
--- a/source3/utils/net_rpc_samsync.c
+++ b/source3/utils/net_rpc_samsync.c
@@ -1244,7 +1244,7 @@ NTSTATUS rpc_vampire_ldif_internals(struct net_context *c,
}
if (argc >= 1) {
- ctx->ldif_filename = argv[1];
+ ctx->output_filename = argv[0];
}
/* fetch domain */