]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3-net: Fix Bug #6193: avoid messing with sync_context in fetch_database_to_ldif().
authorGünther Deschner <gd@samba.org>
Wed, 25 Mar 2009 16:06:57 +0000 (17:06 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 25 Mar 2009 16:07:32 +0000 (17:07 +0100)
We absolutely need to avoid messing with the sync_context as that breaks the
stream of replication data coming from the DC (only replicates ~350 instead of
~4000 groups).

Guenther

source/utils/net_rpc_samsync.c

index 49e5c1a0bc5ca8661c1db06807108a2a89bd694f..38ba1c5066d86db5453f257f018434cd57ce863c 100644 (file)
@@ -2253,9 +2253,6 @@ static NTSTATUS fetch_database_to_ldif(struct rpc_pipe_client *pipe_hnd,
                        } /* end of switch */
                } /* end of for loop */
 
-               /* Increment sync_context */
-               sync_context += 1;
-
        } while (NT_STATUS_EQUAL(result, STATUS_MORE_ENTRIES));
 
        /* Write ldif data to the user's file */