Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

ldifdiff.pl -- Generates LDIF change diff between two sorted LDIF files.

ldifdiff.pl -- Generates LDIF change diff between two sorted LDIF files.


NAME

ldifdiff.pl -- Generates LDIF change diff between two sorted LDIF files.


DESCRIPTION

ldifdiff.pl takes as input two sorted LDIF files, source and target, and generates on standard output the LDIF changes needed to transform the target into the source.


SYNOPSIS

ldifdiff.pl -k|--keyattr keyattr [-a|--sourceattrs attr1,attr2,...] [-c|--ciscmp attr1,...] [--dnattrs attr1,...] [--sharedattrs attr1,...] sourcefile targetfile


OPTIONS

-k|--keyattr keyattr
Specifies the key attribute to use when comparing source and target entries. Entries in both LDIF files must be sorted by this attribute for comparisons to be meaningful. ldifsort.pl can be used to sort LDIF files by a given attribute.

-a|--sourceattrs attr1,attr2,...
(Optional) Specifies a list of attributes to consider when comparing source and target entries. By default, all attributes are considered.

-c|--ciscmp attr1,...
(Optional) Compare values of the specified attributes case-insensitively. By default, comparisons are case-sensitive.

--dnattrs attr1,...
(Optional) Specifies a list of attributes to be treated as DNs when being compared. The default set is manager, member, owner and uniqueMember.

--sharedattrs attr1,...
(Optional) Specifies a list of attribues to be treated as ``shared'' attributes, where the source may not be a sole authoritative source. When modifying these attributes, separate ``delete'' and ``add'' LDIF changes are generated, instead of a single ``replace'' change. The default set is objectClass.

sourcefile
Specifies the source LDIF file.

targetfile
Specifies the target LDIF file.


AUTHOR

Kartik Subbarao <subbarao@computer.org>

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy