Full_Name: Quanah Gibson-Mount Version: OpenLDAP 2.4 OS: 2.4.47 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (47.208.128.44)
Per the slapadd man page:
-S SID Server ID to use in generated entryCSN. Also used for contextCSN if -w is set as well. Defaults to 0.
However, if this is run against an export that already has entryCSN values in the entries, those values are not updated. This is problematic when wanting to update a database from single provider (SID0) to MMR (SID1+).
I generally think that if the -S option is provided, and is non-zero, that all entryCSN values that currently have a "0" serverID in the entryCSN field should be updated to the specified -S value.
In the above case, it would be critical to additionally flag -w on the end user part.
This helps to clean up data when doing migrations.