Synchronization Server Documentation Index
Command-Line Tool Reference Home

scramble-ldif

Description
Examples
Arguments

Description

Obscure the contents of a specified set of attributes in an LDIF file.

Examples

Scramble all values for the givenName, sn, and cn attributes contained in the original.ldif file, replace the uid attribute with a sequentially-incrementing counter starting at 100000000, and write the result in scrambled.ldif:
scramble-ldif --sourceLDIF original.ldif --targetLDIF scrambled.ldif \
     --attributeName givenName --attributeName sn --attributeName cn \
     --sequentialAttributeName uid --initialSequentialValue 100000000 \
     --processDNs

Arguments

-V
--version

Description Display Synchronization Server version information

-H
--help

Description Display general usage information

--help-debug

Description Display help for using debug options
Advanced Yes

-l {path}
--sourceLDIF {path}

Description The path to the LDIF source file to be scrambled
Required Yes
Multi-Valued Yes

-o {path}
--targetLDIF {path}

Description The path where the scrambled LDIF file will be written
Required No
Multi-Valued No

-a {name}
--attributeName {name}

Description The name of an attribute whose values should be scrambled
Required No
Multi-Valued Yes

-d
--processDNs

Description Scramble the values contained in entry DNs

-s {value}
--randomSeed {value}

Description The seed to use for the random number generator
Default Value -334341348
Required No
Multi-Valued No

-S {name}
--sequentialAttributeName {name}

Description The name of an attribute whose values should be replaced with a sequentially-incrementing counter
Required No
Multi-Valued Yes

-i {value}
--initialSequentialValue {value}

Description The initial value to use for attributes that should be replaced with sequentially-incrementing vales
Lower Bound 0
Default Value 0
Required No
Multi-Valued No

-c
--compress

Description Compress the scrambled LDIF using gzip compression

-C
--inputCompressed

Description Indicates that the LDIF data to be scrambled is gzip-compressed