Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
technical:ldap-integration-rba [2025/06/08 04:53] – system | technical:ldap-integration-rba [2025/06/08 06:35] (current) – [Adjusting the rights of a role] system | ||
---|---|---|---|
Line 8: | Line 8: | ||
====== LDAP and Role Based Access (RBA) ====== | ====== LDAP and Role Based Access (RBA) ====== | ||
- | * RADIUSdesk allows the admin of a cloud to be on one of three possible roles. | + | * RADIUSdesk allows the admin of a cloud to be in one of three possible roles. |
* Admin | * Admin | ||
* Operator | * Operator | ||
* View | * View | ||
- | * The rights of the admin is in turn then dictated by the role they are in. | + | * The rights of the admin is dictated by the role they are in. |
- | * In this document, we will cover the optional configuration that allows you to map LDAP groups to the respective roles that are available. | + | * This document will cover the optional configuration that allows you to map LDAP groups to the respective |
----------------- | ----------------- | ||
- | ====== | + | ====== |
- | * We use the Authentication **Plugin** available with CakePHP v4 and CakePHP v5 as the foundation for the LDAP integration. | + | * The RADIUSdesk implementation allows you to specify |
- | * In the past we used the Auth **Component** which is now being replaced by the Authentication and Authorization **Plugins** | + | * If you have an OpenLDAP deployment, you might have to add the // |
- | * The rdcore git code from 15 February onward will have the Authentication plugin included and active. | + | |
- | * To add LDAP capability | + | * If you have an Active Directory deployment, make sure the user that does the initial bind can read the **memberOf** attribute. |
- | <code bash> | + | * This link covers the items you need to double check: http://www.michaelm.info/blog/? |
- | sudo apt-get install php-ldap | + | |
- | </code> | + | |
----------------- | ----------------- | ||
- | ====== LDAP Authentication Process | + | ====== LDAP group to RBA mapping |
- | ===== Bind (Initial Connection) | + | ===== Common Settings |
- | | + | <panel type=" |
- | | + | {{: |
- | | + | </ |
- | | + | * The LDAP group to RBA mapping is optional functionality available as a complement |
+ | * To ensure that the LDAP user has a pleasant experience | ||
+ | * As stated earlier, we also give the option to specify the attribute that will contain the groups the user belongs to. | ||
+ | * The recommended value is // | ||
- | ===== Search | + | ----------------- |
- | - **Search request:** The client sends a search request to the server, specifying the search base, scope, filter, and attributes to retrieve. | + | ===== Admin ===== |
- | - **Server searches:** The server searches its directory based on the client' | + | <panel type=" |
- | - **Search response:** The server responds with a search response, containing | + | {{:technical: |
+ | </ | ||
+ | * The Admin role will typically include | ||
- | ===== Bind on Search Result with Password ===== | + | ----------------- |
- | | + | ===== Operator |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | ---------- | + | |
- | ---------- | + | |
- | ====== | + | |
- | * LDAP Integration is configured under the settings tab. | + | |
- | * One item that needs a bit more explanation is Filter. | + | |
- | * The filter contains a special character (**%s**) which will be substituted with the username that the user provide to log in. | + | |
- | * For active directory it will typically be **(& | + | |
- | * This filter will be applied when searching to find the DN of the user who needs to be authenticated. | + | |
- | + | ||
<panel type=" | <panel type=" | ||
- | {{: | + | {{: |
</ | </ | ||
+ | * The Operator role will typically have less components selected compared to the Admin role, but more components then the View role. | ||
- | --------- | + | ----------------- |
- | + | ===== View ===== | |
- | ====== | + | |
- | * There is also a **Test LDAP Settings** Button that helps you to test the LDAP settings to ensure they work as intended. | + | |
- | * The tests that will be done will be matching the **LDAP Authentication Process** described earlier on this page. | + | |
<panel type=" | <panel type=" | ||
- | {{: | + | {{: |
</ | </ | ||
+ | * The View role will typically have the least components selected of the available three roles. | ||
+ | |||
+ | |||
+ | --------- | ||
+ | ====== Adjusting the rights of a role ====== | ||
+ | * Should you need to adjust the rights for one of the roles, there is a dedicated section in the Wiki which covers that topic. | ||