Skip to content
Guides & References

Troubleshooting sign-in and access

rConfig sign-in and access problems from symptom to cause to fix: lockouts, LDAP and RADIUS failures, SSO approval, role mapping, permissions and API tokens.

SecurityUpdated
On this page

Troubleshooting sign-in and access

Most sign-in and access problems come from one of three places: the external source that checks the password, the way rConfig maps that user to roles, or the roles and scoping themselves. This page maps what the user sees to where to look. The fixes are in the main docs pages linked in each row. For how the pieces fit together, see choosing a sign-in method and designing roles and scope.


Before you start

  • The order is fixed. A username and password go to LDAP (if enabled), then RADIUS (if enabled), then the local password. The first that accepts wins. The only refusal that stops the chain is a directory user who isn’t in the LDAP Authorized Group.
  • The lockout comes first. Five failures for the same username and address lock that pair out for a minute, before LDAP or RADIUS is contacted.
  • Every sign-in is logged. The Application Log records each attempt, which source handled it and why it failed, and role mapping writes a trace of every group and the role it matched. The User Activity Log shows the same per user.
  • Keep a local administrator working. Most of the fixes below are made by an administrator who can still sign in when the directory, RADIUS server or identity provider is the problem.

Signing in

Symptom Usual cause Fix
“Too many login attempts” Five failed attempts for this username and address within the lockout window Wait a minute. Repeated lockouts with the right password point at a script or saved password retrying. See the RADIUS troubleshooting notes
Every failed sign-in takes about 27 seconds LDAP and RADIUS both enabled, each waiting out its timeout before the local password is checked Turn off whichever you don’t use, or lower RADIUS timeout and retries. See RADIUS
LDAP users can’t sign in at all, local users can rConfig can’t reach the directory, or the bind account is wrong, locked or lacks read rights LDAP troubleshooting: cannot connect, invalid bind credentials
LDAP sign-in fails only with LDAPS or StartTLS on The directory’s certificate isn’t trusted, has expired or doesn’t match the host name LDAP troubleshooting: SSL certificate errors. In Docker, see LDAPS certificate trust
A directory user with the right password is refused They are not in the LDAP Authorized Group, which stops the sign-in outright Add them to the group in the directory. See LDAP Authorized Group
AD sign-in works with user@domain but not the short name The username attribute doesn’t match the name being typed LDAP troubleshooting: userPrincipalName and sAMAccountName
Every LDAP user locked out after enabling LDAP LDAP misconfigured, directory unreachable without password sync, or the authorised group too narrow Sign in as a local administrator and fix the LDAP settings. See LDAP troubleshooting
LDAP users can’t sign in while the directory is down Password sync off, or the user hasn’t signed in through LDAP since it was turned on Expected. See Sync Password
“No RADIUS server responded” Wrong address or port, wrong shared secret, rConfig not registered as a client (NAD) on the server, or UDP blocked Work through the RADIUS checklist. php artisan rconfig:radius-check -v shows per-server detail
RADIUS answers but rejects the user Wrong password, or the RADIUS server’s policy refused them Check the RADIUS server’s own logs. See RADIUS
Refused with a Class attribute message Required Class Attribute doesn’t match the value the server returned Run Test Connection with that user and copy the real value. See RADIUS
RADIUS sign-in with MFA always fails The RADIUS server sent an Access-Challenge for a code, which rConfig treats as a failure Use an MFA method the RADIUS server completes before it answers, or move the user to SSO. See What is not supported
An existing administrator can’t sign in through RADIUS Existing accounts aren’t linked by username Turn on RADIUS for that user under Users. See linking an account
SSO user told an administrator must approve them New SSO accounts need approval (all OAuth providers, and SAML without auto-approve) Approve them under Users. See Approving SSO Users, or auto-approve for SAML and Shibboleth
SSO user approved but still can’t sign in SSO sign-in switched off for the user, no role assigned, or a provider configuration mismatch Users troubleshooting: SSO user cannot log in after approval
SAML user sent back with “no rConfig role assigned by your identity provider” Role mapping is on and none of the user’s groups match an active role, or the group attribute is missing from the assertion Map the group to a role, or send the attribute. See SAML role mapping troubleshooting

Roles and access

Symptom Usual cause Fix
Roles set under Users keep disappearing LDAP or SAML role mapping is on, and the directory or IdP replaces roles at every sign-in Change the group in the directory or IdP instead. See LDAP role mapping
An LDAP user gets the default role, not the mapped one The group is outside the Base DN, is the user’s primary group, or doesn’t match the role’s LDAP Groups entry exactly Read the roles changed from trace in the Application Log. See LDAP role mapping troubleshooting
A user signs in but sees no devices None of their roles is assigned to any device, or to any tag those devices carry Assign the role to the devices or their tags. See entity-level role restrictions
“Insufficient permissions” on an action The user’s roles don’t include that permission, or the role was changed recently Check the role’s permission matrix. See Users troubleshooting
“You are not permitted to assign a role with more privilege than your own” You tried to grant a role ranked above your own Ask an administrator. See who can grant what
“This change would leave no active administrator” Removing or demoting the last active admin Make another user an administrator first
A role can’t be deleted or deactivated It is the default role for LDAP or RADIUS Pick another default role in LDAP Setup or RADIUS Setup, then retry. See LDAP role mapping

API and MCP tokens

Symptom Usual cause Fix
401 Unauthorized Token sent as Authorization: Bearer instead of the apitoken header, expired, deleted, or created before V8.4.0 Send it in the apitoken header, or create a new token. See REST API authentication
422, “Token param name needs to be updated to apitoken” The old api_token parameter name Rename it to apitoken
403 on one endpoint, others work The token lacks the ability that endpoint needs Create a token with the ability. See tokens and least privilege
Token works but sees fewer devices than expected A token acts as its owner, so it inherits the owner’s roles and device scoping Check the owning user’s roles and scope, not just the token

The API and MCP token checks list tokens that never expire, sit unused or carry every ability, which is often where an unexpected 401 or 403 starts.


Type to search.