You can use this article as a quick reference while deploying, validating or troubleshooting the connector. It gathers default mappings, ports, error codes and command-line snippets so you can check technical values without searching across the full documentation.
Selected Rainbow backend error codes
| HTTP | Detail | Meaning |
|---|---|---|
| 400 | 400000 | Bad parameters. |
| 400 | 400500 | Syntax error in CSV. |
| 400 | 400503 | Duplicate loginEmail lines in CSV. |
| 400 | 400560 | Wrong tenant. |
| 400 | 400561 | Failed to retrieve AD users. |
| 400 | 400562 | Failed to synchronize tenant. |
| 400 | 400970 | loginEmail is a mandatory field. |
| 400 | 400973 | No permission to create user in company. |
| 400 | 400975 | Sub-task failure such as avatar or device attachment. |
| 400 | 400991 | No permission to delete user. |
| 401 | 401202 | Invalid token or JWT expired. |
| 404 | 404601 | No cloud PBX in this company. |
| 404 | 404602 | No pending synchronization. |
| 409 | - | Only one LDAP user per company. |
Default attribute mapping
| Rainbow attribute | Microsoft AD default | Generic LDAP suggestion |
|---|---|---|
| ldap_id | objectGUID | uid or entryUUID |
| loginEmail | ||
| firstName | givenName | givenName |
| lastName | sn | sn |
| jobTitle | title | title |
| department | department | ou |
| businessPhone0 | telephoneNumber | telephoneNumber |
| mobilePhone0 | mobile | mobile |
| email0 | ||
| pbxShortNumber | employeeNumber | environment-specific value |
| nickName | displayName | displayName |
| pbxLdapId | environment-specific value | environment-specific value |
Default URLs and ports
| Setting | Default value |
|---|---|
| Rainbow backend domain | web.openrainbow.com |
| Update channel | latest_rainbow_for_ad |
| Update yml file | latest_rainbow_for_ad_service.yml |
| Update check interval | 3600 seconds / 1 hour |
| Default connector service port | 3001 |
| Connector service port range | 3000-3019 |
| Maximum concurrent instances | 20 |
| Log file max size | 2 MB, rotated |
| LDAP timeout | 20000 ms / 20 seconds |
Configuration files
Connector configuration is persisted locally in a per-port configuration folder. Sensitive values such as passwords, client secrets and OAuth tokens are encrypted at rest. Do not edit these files manually.
Advanced: The LDAP query timeout default is 20 seconds. It is stored as
ldapTimeout in milliseconds and is not exposed in the connector service management page or in the Rainbow application.Connector service start and stop commands
Use Windows services or PowerShell commands to start, stop and control connector services.
Get-Service | Where-Object { $_.Name -like "RainbowADService*" } | Format-Table Name,Status,StartType
Stop-Service RainbowADService_3001
Start-Service RainbowADService_3001
Get-Service | Where-Object { $_.Name -like "RainbowADService*" } | Restart-ServiceUseful command-line snippets
Get-Service | Where-Object { $_.Name -like "RainbowADService*" } | Format-Table Name,Status,StartType
openssl.exe s_client -showcerts -connect ldap.example.com:636
Get-NetTCPConnection -LocalPort 3001
sc.exe queryex RainbowADService_3001