View on
Graham Barr > perl-ldap-0.3202 >


Annotate this POD


New  1
Open  4
View/Report Bugs
Source   Latest Release: perl-ldap-0.34

NAME ^ -- Generates LDIF change diff between two sorted LDIF files.

DESCRIPTION ^ 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 ^ -k|--keyattr keyattr [-a|--sourceattrs attr1,attr2,...] [-c|--ciscmp attr1,...] [--dnattrs attr1,...] [--sharedattrs attr1,...] sourcefile targetfile


-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. 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.


Specifies the source LDIF file.


Specifies the target LDIF file.


Kartik Subbarao <>

syntax highlighting: