On This Page
LDAP Vendors in SecureTrack
Overview
LDAP vendors can be used for user authentication in SecureTrack. You can add custom LDAP vendors, which are not included in the TOS installation, change attributes for existing LDAP vendors, delete attributes or LDAP vendors, and retrieve LDAP vendor configuration.
By default, TOS includes the following LDAP vendors in SecureTrack:
-
Active Directory
-
OpenLDAP
-
Sun
To add, modify, or delete vendors in SecureChange, contact Turin Support.
Add/Modify LDAP Vendors
The set_ldap_vendor_configuration
command allows you do add, modify, and delete LDAP vendors and attributes.
-
To add an LDAP vendor, add an attribute and the vendor is created automatically.
-
To modify an LDAP vendor, add or update its attributes.
-
To delete an LDAP vendor, delete all of its attributes. You can also delete one or more attributes.
Syntax
kubectl exec -it deploy/keycloak-service -c keycloak-service -- manage_keycloak -r set_ldap_configuration -v '<vendor_name>' -a '<action>' --attr_objective '<attr_objective>' --attr_name '<attr_name>' --attr_type '<attr_type>'
Parameters
Parameter |
Description |
---|---|
|
|
|
Vendor name that appears in SecureTrack: Settings > Configuration > External Authentication > LDAP Authentication > Server Type |
|
Attribute from the list of LDAP server attributes. |
|
Name of the LDAP vendor field that corresponds to the |
|
Supported attribute types:
|
Example
For the Active Directory vendor, update the mail attribute name to the string mail:
kubectl exec -it deploy/keycloak-service -c keycloak-service -- manage_keycloak -r set_ldap_configuration -v 'Active Directory' -a 'add_or_update' --attr_objective 'mailAttributeName' --attr_name 'mail' --attr_type 'string'
Retrieve LDAP Vendor Configuration
The get_ldap_vendor_configuration
command retrieves the configuration for all available LDAP vendors or for the specified LDAP vendor.
Syntax
kubectl exec -it deploy/keycloak-service -c keycloak-service -- manage_keycloak -r get_ldap_configuration [-v '<vendor_name>']
Parameters
Parameter |
Description |
---|---|
-- vendor '<vendor_name>'
|
(Optional) Returns the configuration details for the specified vendor. |
Examples
Returns the configuration for all LDAP vendors:
kubectl exec -it deploy/keycloak-service -c keycloak-service -- manage_keycloak -r get_ldap_configuration
Returns the configuration for Active Directory:
Was this helpful?
Thank you!
We’d love your feedback
We really appreciate your feedback
Send this page to a colleague