The LDAPviewer application is installed in an OS dependent location which typically has limited read, write and execute access permissions. In general, there should be no reason the inspect the contents of this location.
Files which control the behaviour of LDAPviewer and which may be modified or added by the user are placed in a number of directories under a User Base Directory. Some of these directories are populated when LDAPviewer is installed, others are populated during LDAPviewer operation and others are provided explicitly to allow user customization. The location of the User Base Directory is OS specific but in all cases requires minimal user access permissions.
LDAPviewer uses a number of subdirectories below the base directory, these are:
objects.schemax | Contains enhanced definitions and descriptions of operational objects used by a number of LDAP servers. |
*.schemax | Standard schema files released with a number of LDAP distributions. |
templates Read only resource directory. This directory contains HTML editing and display templates (with the file suffix/extension of .html or .htm) used by the default HTML Entry Editor.
Templates may be generic (they apply to every entry) or they may be specific to a particualr objectClass in which case they are identified and organized under a subdirectory named for the objectClass to which they apply. For instance, if a set of HTML templates apply to the objectClass inetOrgPerson they will be placed in a subdirectory named inetorgperson (directory name is not case sensitive). When an LDAP entry is displayed containing this objectClass the editor will look in this directory, select a default HTML template and place the names of all other templates found in this subdirectory on the Editor Menu Bar.
In addition, if the objectClass is part of a hierarchy (its SUP is not top) then the editor will look for, and display in the Editor Menu Bar if found, all additional template names found in any other subdirectory whose objectClass name appears in the primary objectClass's hierarchy. For example, if the current LDAP entry being displayed contains the objectClass inetOrgPerson then the HTML editor will look for HTML templates in the subdirectory inetorgperson (not case sensitive), aditionally it will look for HTML templates in a subdirectory with the name organizationalPerson (not case sensitive) and then person (not case sensitive) both of which appear in the hierarchy of the objectClass inetOrgPerson.
Note: The objectClass subdirectories may apply to any objectClass name (STRUCTURAL or AUXILIARY).
HTML template files appearing in the base templates directory will be used to display an entry whose STRUCTURAL or AUXILIARY objectClass(es) do not have a named subdirectory.
The templates directory also contains an images subdirectory which is simply a convenience location for any images used in a template.
themes In the current release of LDAPviewer a single theme named default is supported. This subdirectory contains an icons and an images directory containing all graphics used by the default theme. In future releases theme icons and images will be maintained in the same directory structure but with the subdirectory name = theme name. Futher information about adding or replacing images or icons is provided.
© LV Project 2016. Creative Commons Attribution 4.0 International License.