diff options
author | Günther Deschner <gd@samba.org> | 2008-11-18 02:01:03 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-11-18 16:05:03 +0100 |
commit | 90513515096f0b82d3e9d1cb23df73aa26f267a8 (patch) | |
tree | 6ebfd655fb312272bb4f96c5b03daf7034daaaf0 /source3/libnet | |
parent | 8c671597550d4fde385f6ef011dfdc7b3695f9f4 (diff) | |
download | samba-90513515096f0b82d3e9d1cb23df73aa26f267a8.tar.gz samba-90513515096f0b82d3e9d1cb23df73aa26f267a8.tar.bz2 samba-90513515096f0b82d3e9d1cb23df73aa26f267a8.zip |
s3-libnet-samsync: pass sequence number pointer to process routine.
Guenther
Diffstat (limited to 'source3/libnet')
-rw-r--r-- | source3/libnet/libnet_samsync.c | 1 | ||||
-rw-r--r-- | source3/libnet/libnet_samsync.h | 1 | ||||
-rw-r--r-- | source3/libnet/libnet_samsync_display.c | 1 | ||||
-rw-r--r-- | source3/libnet/libnet_samsync_keytab.c | 2 | ||||
-rw-r--r-- | source3/libnet/libnet_samsync_ldif.c | 2 | ||||
-rw-r--r-- | source3/libnet/libnet_samsync_passdb.c | 1 |
6 files changed, 8 insertions, 0 deletions
diff --git a/source3/libnet/libnet_samsync.c b/source3/libnet/libnet_samsync.c index ff2ba951bf..43891ce829 100644 --- a/source3/libnet/libnet_samsync.c +++ b/source3/libnet/libnet_samsync.c @@ -423,6 +423,7 @@ static NTSTATUS libnet_samsync_delta(enum netr_SamDatabaseID database_id, /* Process results */ callback_status = ctx->ops->process_objects(mem_ctx, database_id, delta_enum_array, + &sequence_num, ctx); if (!NT_STATUS_IS_OK(callback_status)) { result = callback_status; diff --git a/source3/libnet/libnet_samsync.h b/source3/libnet/libnet_samsync.h index cbd35fa327..3a686a7f45 100644 --- a/source3/libnet/libnet_samsync.h +++ b/source3/libnet/libnet_samsync.h @@ -35,6 +35,7 @@ struct samsync_ops { NTSTATUS (*process_objects)(TALLOC_CTX *mem_ctx, enum netr_SamDatabaseID id, struct netr_DELTA_ENUM_ARRAY *array, + uint64_t *sequence_num, struct samsync_context *ctx); NTSTATUS (*finish)(TALLOC_CTX *mem_ctx, struct samsync_context *ctx, diff --git a/source3/libnet/libnet_samsync_display.c b/source3/libnet/libnet_samsync_display.c index 675fcd5a0d..c8d9ec6f09 100644 --- a/source3/libnet/libnet_samsync_display.c +++ b/source3/libnet/libnet_samsync_display.c @@ -287,6 +287,7 @@ static NTSTATUS display_sam_entry(TALLOC_CTX *mem_ctx, static NTSTATUS display_sam_entries(TALLOC_CTX *mem_ctx, enum netr_SamDatabaseID database_id, struct netr_DELTA_ENUM_ARRAY *r, + uint64_t *sequence_num, struct samsync_context *ctx) { int i; diff --git a/source3/libnet/libnet_samsync_keytab.c b/source3/libnet/libnet_samsync_keytab.c index 4ec03af886..7eeae3a1a0 100644 --- a/source3/libnet/libnet_samsync_keytab.c +++ b/source3/libnet/libnet_samsync_keytab.c @@ -140,6 +140,7 @@ static NTSTATUS init_keytab(TALLOC_CTX *mem_ctx, static NTSTATUS fetch_sam_entries_keytab(TALLOC_CTX *mem_ctx, enum netr_SamDatabaseID database_id, struct netr_DELTA_ENUM_ARRAY *r, + uint64_t *sequence_num, struct samsync_context *ctx) { struct libnet_keytab_context *keytab_ctx = @@ -212,6 +213,7 @@ static NTSTATUS init_keytab(TALLOC_CTX *mem_ctx, static NTSTATUS fetch_sam_entries_keytab(TALLOC_CTX *mem_ctx, enum netr_SamDatabaseID database_id, struct netr_DELTA_ENUM_ARRAY *r, + uint64_t *sequence_num, struct samsync_context *ctx) { return NT_STATUS_NOT_SUPPORTED; diff --git a/source3/libnet/libnet_samsync_ldif.c b/source3/libnet/libnet_samsync_ldif.c index 495a828749..c72eadf03f 100644 --- a/source3/libnet/libnet_samsync_ldif.c +++ b/source3/libnet/libnet_samsync_ldif.c @@ -1189,6 +1189,7 @@ static NTSTATUS init_ldif(TALLOC_CTX *mem_ctx, static NTSTATUS fetch_sam_entries_ldif(TALLOC_CTX *mem_ctx, enum netr_SamDatabaseID database_id, struct netr_DELTA_ENUM_ARRAY *r, + uint64_t *sequence_num, struct samsync_context *ctx) { NTSTATUS status; @@ -1257,6 +1258,7 @@ static NTSTATUS init_ldif(TALLOC_CTX *mem_ctx, static NTSTATUS fetch_sam_entries_ldif(TALLOC_CTX *mem_ctx, enum netr_SamDatabaseID database_id, struct netr_DELTA_ENUM_ARRAY *r, + uint64_t *sequence_num, struct samsync_context *ctx) { return NT_STATUS_NOT_SUPPORTED; diff --git a/source3/libnet/libnet_samsync_passdb.c b/source3/libnet/libnet_samsync_passdb.c index 08c8190d41..388b10a0fa 100644 --- a/source3/libnet/libnet_samsync_passdb.c +++ b/source3/libnet/libnet_samsync_passdb.c @@ -775,6 +775,7 @@ static NTSTATUS fetch_sam_entry(TALLOC_CTX *mem_ctx, static NTSTATUS fetch_sam_entries(TALLOC_CTX *mem_ctx, enum netr_SamDatabaseID database_id, struct netr_DELTA_ENUM_ARRAY *r, + uint64_t *sequence_num, struct samsync_context *ctx) { int i; |