Attributes
Attributes map
Attributes are defined in $attributes_map
, where each item is an array with these keys:
attribute
: name of LDAP attribute, in lower casefaclass
: name of Font Awesome icon classtype
: type of attribute (text, mailto, tel or date)sort
: optional, when attribute is multi-valued, sort them. Two possible values:ascending
(default) ordescending
dtorder
: optional, set value todisable
to remove sorting on the column
This is used to configure how attribute is displayed.
Available types:
text
: simple textmailto
: mailto linktel
: tel linkboolean
: true or falsedate
: LDAP date converted to full datead_date
: Active Directory date converted to full datelist
: value from a listbytes
: bytes converted in KB/MB/GB/TBtimestamp
: timestamp converted to full datedn_link
: convert DN into link to account display pageaddress
: convert address string to multi-lines
Tip
See LDAP Tool Box White Pages documentation to get more information.
OpenLDAP and Active Directory
To allow compatibilty with OpenLDAP and Active Directory, some specific attributes are configured in dedicated parameters: $openldap_attributes_map
and $activedirectory_attributes_map
.
For example, the endtime
is in pwdEndTime
attribute in OpenLDAP and in accountExpires
attribute in Active Directory.
If you need to change the default settings, override these parameters. They are merged into the global $attributes_map
by the software itself.