This is Saltcorn plugin, to use it you need install it into your saltcorn instance/tenant.
Table provider for LDAP protocol.
As with any table provider you can create table with LDAP provider.
On next page you can fill configuration fields almost same as in auth-ldap
.
As with all table providers resulting table is read-only.
- id - Primary key from order.
- dn - Distinguished name
- data - JSON object with fetched fields. Value is either array or single element of array.
- ldap_data - (undoc) JSON object of raw data returned by library. Not recommended to use as it's format can be changed with library.
Logic of converting attributes to object fields contained in ldap_get_attribute_entry()
.
- Document data conversion.
- Implement converting types of fields. Examples:
- Convert to Date AD field
whenCreated
formatted as YYYYmmddHHMMSS.fZ. - Convert to Date AD field
lastLogon
(which is10^-8
seconds since1601-01-01
). - Convert to boolean AD field
mDBUseDefaults
. - Revert conversion to Buffer (or ArrayBuffer, Int8Array) of binary-only fields like AD field
objectSid
.
- Convert to Date AD field