Configuration

Orchestrator requires a one file to be configured properly.

Configuration file

Note

The editable file is located at /etc/fusiondirectory-orchestrator/orchestrator.conf

[LDAP settings]

FD_LDAP_MASTER_URL="ldaps://ldap.fusiondirectory.org"

Required in order to connect to the proper host. FQDN or IP must be provided with ldap(s) to secure the connection.

LDAP_ADMIN="cn=admin,dc=fusiondirectory,dc=org"

Required by LDAP in order to use the proper privileges.

LDAP_PWD="ldap_pwd"

Required password to authenticate LDAP

LDAP_OU_DSA="ou=dsa,dc=fusiondirectory,dc=org"

Required to ease the research of the branch DSA by endpoints.

LDAP_BASE="dc=fusiondirectory,dc=org"

Required to operate with ldap libraries.

[JWT token settings]

#SECRET_KEY can be generated via a 256 bit Wep key generator such as
      #https://allkeysgenerator.com/
      SECRET_KEY="256 bit key"

Required to secure and validate the generation of access and refresh tokens.

TOKEN_EXPIRY="300"

Required to limit the availability of an issued token. In seconds.

REFRESH_EXPIRY="432000"

Required to limit the availability of an issued refresh token. In seconds.

[SMTP server settings]

MAIL_USER="mail_user"

The login ID to authenticate to the specified SMTP server.

MAIL_PASS="mail_pwd"

The password used for above authentication.

MAIL_HOST="fqdn or IP"

The SMTP server domain name or IP.

MAIL_SEC="ssl"

The required secure methode. “TLS” can be used for “STARTLS”. Please note the importance of lowercase in ‘ssl’ or ‘tls’.

MAIL_PORT="SMTP port number"

The TCP/UDP port number of the SMTP server.(Example: SSL 465 / TLS 586).

[DSA Login Information]

DSA_LOGIN="DSA Login Name"
DSA_PASS="DSA Password"

The DSA login that should be used to interact with LDAP.

ORCHESTRATOR_API_URL="https://orchestrator.fusiondirectory.org"

The REST API URL in HTTP(s). Required by the fd-orchestrator-client.

[WEB Service FusionDirectory]

FUSION_DIRECTORY_API_URL="https://fd.fusiondirectory.org/rest.php/v1"
WEB_LOGIN="weblogin_username"
WEB_PASS="weblogin_password"

Information related to the webservice of fusiondirectory. This is required for fusiondirectory-orchestrator to activate specific actions within FusionDirectory WEB.

Note

Orchestrator is highly depending on the URL rewriting mechanism of the web server.
In case of Apache2 “.htaccess” files are responsible for that logic.
Although informative, there should not be any value of modifying the contents of those files.
The goal is to redirect any call on URI to the main index file located in API directory.