LDAP Settings
How to use LDAP Settings in Integrations & API Docs: access, working steps, fields, related records and troubleshooting.
Purpose and access
Use the API documentation at api.nexcommand.ai, obtain the required authorized credentials and use the deployment-specific service URLs. SaaS tenants and on-premises installations must retain their own endpoints and access boundaries.
This page is a settings page in System Admin → Integrations & API Docs. Use the link above to open the configured destination; permissions are checked by the destination service.
Before you start
Prepare the required information: Directory Server, LDAP Server Url, Base Distinguished Name (DN), LDAP search path for Users, LDAP Search String, LDAP search path for Groups, LDAP Email Field, LDAP Username Field, LDAP First Name Field, Require Trusted Certificate, Default User Type.
Confirm the company, party, dates, units and source references that apply. Select existing links carefully and check for an existing record before creating a duplicate.
Working steps
- Open LDAP Settings from System Admin → Integrations & API Docs, or use ERP Search.
- Review the existing configuration before editing.
- Complete the editable fields described below. Required fields and validation conditions must be satisfied; read-only values are set by the system or their source records.
- Add the required child rows. Review each row’s identifiers, linked records and values, using the child-table field reference below.
- Save the record and address validation messages. Reload and verify the saved values and relationships.
- Use any additional workflow actions only when the record and your role provide them. Saving this record does not automatically complete a related transaction or external action.
Field reference
These fields come from the installed ERP definition. Hidden fields and password inputs are omitted. Additional conditions, custom scripts and workflow rules can make a field required or read-only in a particular context.
| Field | Type / behavior | How to use it |
|---|---|---|
Enabledenabled | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Directory Serverldap_directory_server | Select Required | Please select the LDAP Directory being usedAvailable choices
|
LDAP Server Urlldap_server_url | Data Required | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Base Distinguished Name (DN)base_dn | Data Required | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
LDAP search path for Usersldap_search_path_user | Data Required | Requires any valid fdn path. i.e. ou=users,dc=example,dc=com |
LDAP Search Stringldap_search_string | Data Required | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
LDAP search path for Groupsldap_search_path_group | Data Required | Requires any valid fdn path. i.e. ou=groups,dc=example,dc=com |
LDAP Email Fieldldap_email_field | Data Required | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
LDAP Username Fieldldap_username_field | Data Required | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
LDAP First Name Fieldldap_first_name_field | Data Required | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Do Not Create New Userdo_not_create_new_user | Check Optional | Do not create new user if user with email does not exist in the system |
LDAP Middle Name Fieldldap_middle_name_field | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
LDAP Last Name Fieldldap_last_name_field | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
LDAP Phone Fieldldap_phone_field | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
LDAP Mobile Fieldldap_mobile_field | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
SSL/TLS Modessl_tls_mode | Select Optional | Choose one of the configured list values. Status fields may be controlled by the record workflow.Available choices
|
Require Trusted Certificaterequire_trusted_certificate | Select Required | Choose one of the configured list values. Status fields may be controlled by the record workflow.Available choices
|
Path to private Key Filelocal_private_key_file | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Path to Server Certificatelocal_server_certificate_file | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Path to CA Certs Filelocal_ca_certs_file | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Group Object Classldap_group_objectclass | Data Optional | string value, i.e. group |
Custom Group Searchldap_custom_group_search | Data Optional | string value, i.e. {0} or uid={0},ou=users,dc=example,dc=com |
LDAP Group Member attributeldap_group_member_attribute | Data Optional | string value, i.e. member |
Default User Typedefault_user_type | Link Required | Choose an existing linked record. Check its company and ownership; typing a label alone does not create a new relationship. Linked record: User Type |
Default User Roledefault_role | Link Optional | Choose an existing linked record. Check its company and ownership; typing a label alone does not create a new relationship. Linked record: Role |
LDAP Group Mappingsldap_groups | Table Optional | Add the relevant child rows and review required columns, quantities and references before saving. Linked record: LDAP Group Mapping |
LDAP Group Fieldldap_group_field | Data Optional | NOTE: This box is due for depreciation. Please re-setup LDAP to work with the newer settings |
Child tables
LDAP Group Mappings — child-row fields
| Field | Type / behavior | How to use it |
|---|---|---|
LDAP Groupldap_group | Data Required | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
User Roleerpnext_role | Link Required | Choose an existing linked record. Check its company and ownership; typing a label alone does not create a new relationship. Linked record: Role |
Troubleshooting
- Not permitted: verify the account, role and source-document permission. Do not share an administrator login.
- Missing record or address: inspect the relevant Link or Dynamic Link fields; a matching title alone does not establish a relationship.
- Cannot save or change status: review required fields, read-only values, document status and the configured approval transition.
- Unexpected report or portal result: review company/date filters, source-document submission and the approved party or Employee link.