Softerra LDAP Administrator Help | Show AllHide All |
LDAP Administrator allows you to work with LDIF documents in the same way as you work with directories. In this case, LDIF document is represented as the Directory Information Tree (DIT), where main tree elements are directory entries or directory entry modifications described in the LDIF document.
To browse an LDIF document in the tree view:
Open the LDIF file you want in the LDIF Editor.
Click the Browse LDIF button on the LDIF Editor toolbar.
The following tree elements are used to represent an LDIF document in the tree structure:
LDIF Profile – root node for each opened LDIF document.
LDIF Entry – directory entry.
LDIF Entry Modification – an operation performed with a directory entry:
Add
Delete
Modify
Rename or Move (ModRDN or ModDN)
LDIF Intermediate Entry – auxiliary element, used to represent directory hierarchy.
, LDIF Attribute – text or binary attribute of the directory entry
LDIF Attribute Modification – a modification applied to a directory entry's attribute:
Add
Replace
Delete
Increment
LDAP control – used to represent a control attached to the entry.
LDIF attributes, LDAP controls and LDIF modification operations are displayed in List View. To view these elements, you need to activate the List View pane. |
With the help of the LDIF tree view, you can modify LDIF documents as you modify LDAP entries. For more details, see Editing Elements.
If the document was modified, the root node will be marked with an asterisk (*) at the end. To apply these changes to the file, right click on a tree element and select Save File command from the context menu or press Ctrl+S.
If you want to see how LDIF tree element is described in the LDIF document, right click the element, select Properties from the context menu and open Source Text property page. You can also navigate to this element in LDIF Editor by selecting the Locate in Document command from the element’s context menu.
A document opened with LDIF Editor and the tree representation of such document is not synchronized automatically. It means that if you browse LDIF document in tree view and then modify it in LDIF Editor, these views will be out of sync.
If you have modified an LDIF document using LDIF Editor or any other third-party application, the tree view representation of the document becomes out-of-date. In this case, a warning sign will appear on the LDIF profile's icon in the tree view: . To update data in the tree view with modifications made in LDIF Editor or with a file on the disk, right-click on the LDIF Profile and select Reload File from the context menu. Please note that any changes made to the file in the tree view will be lost.
If you’ve modified an LDIF document in the tree or with a third-party application, and then switched to the LDIF Editor, you will be offered with the confirmation dialog that prompts you synchronize the editor data with modifications made.