Skip to content
Guides & References

Choosing a sign-in method

Local, LDAP, RADIUS and SSO sign-in compared: account creation, where roles come from, MFA, what happens in an outage and keeping a break-glass admin.

SecurityUpdated
On this page

Choosing a sign-in method

rConfig can check a user’s password itself, against a directory over LDAP, against a RADIUS server, or hand sign-in to an identity provider with SSO. The choice decides more than where the password is checked: it decides how accounts appear, who is the authority for each user’s roles, whether a second factor is possible, and what happens when the external service is down. This page compares the four and the trade-offs between them. Setting each one up is in the main docs: LDAP, RADIUS and SSO.


The four methods compared

Local LDAP RADIUS SSO
Password checked by rConfig Active Directory or FreeIPA Any RADIUS server (Pro V8.3.2+) Microsoft Entra ID, Okta, Google, Shibboleth or a SAML 2.0 provider
Accounts created By an administrator Automatically on first sign-in, for members of the authorised group Automatically on first sign-in, with the RADIUS default role On first sign-in, then approved by an administrator (or auto-approved, SAML and Shibboleth)
Roles come from rConfig Directory groups with role mapping (V8.4.0+), otherwise rConfig rConfig, never from RADIUS attributes SAML and Shibboleth groups with role mapping (V8.3.3+); rConfig for Microsoft, Okta and Google
Second factor None None Only if the RADIUS server completes it before answering From the identity provider
When the service is down Not affected Users with a synced password fall back to it RADIUS users cannot sign in SSO users cannot sign in

Most estates end up with two: the directory or identity provider for everyone, and one or two local administrator accounts kept for emergencies.

How a sign-in is decided

The sign-in form and the SSO buttons are separate paths. A username and password typed into the form goes through up to three sources, in a fixed order:

  1. The lockout comes first. Five failed attempts for the same username and address lock that pair out for a minute, before anything reaches your directory or RADIUS server. The accounts.login_throttle check confirms it is in place.
  2. LDAP, if it is enabled. If the directory authenticates the user but they are not in the LDAP Authorized Group, the sign-in stops there: RADIUS and local passwords cannot overturn a directory that has said no. Any other LDAP failure (wrong password, user not found, directory unreachable) moves on.
  3. RADIUS, if it is enabled. An Access-Accept signs the user in. A rejection, or no server answering, moves on.
  4. The local password, last. This is what keeps a local administrator able to sign in when the directory and the RADIUS server are both unreachable.

The order has a cost when both LDAP and RADIUS are on: a failed sign-in waits for LDAP to give up, then for RADIUS to give up, before the local password is checked. With default timeouts that is roughly 27 seconds. Turn off whichever of the two you are not using.

SSO users never see the form: they choose their provider’s button, authenticate there, and come back with an assertion or token.

Figure SEC-4: the sign-in form passes through the lockout, then LDAP, RADIUS and the local password in turn, while SSO buttons go to the identity provider; each path shows where the user's role comes from
Figure SEC-4: The sign-in paths into rConfig, and where each one takes the user's role from.

Where a user’s roles come from

Role mapping makes the directory or identity provider the authority for roles. With it on, a user’s roles are replaced at every sign-in, and any role set by hand under Users is overwritten at the next one. Local accounts are never touched.

The two mappings differ in ways that matter:

  • LDAP mapping (V8.4.0+) follows nested groups and never matches on role names, so a directory group called Admin grants nothing unless it is listed on a role. A user whose groups match nothing gets the LDAP default role. A plain group name matches a group of that name in any OU, so anyone who can create groups somewhere in the directory could create a matching one: use the group’s full distinguished name for the admin role and anything else wide. If the group lookup itself fails, the user keeps the roles they had.
  • SAML and Shibboleth mapping (V8.3.3+) falls back to the role’s name when a role has no SSO group set, and refuses a user whose groups match no active role (removing their roles). It applies to SAML 2.0 and Shibboleth only; the Microsoft, Okta and Google providers always use roles assigned in rConfig.

RADIUS never supplies roles. New RADIUS users get the RADIUS default role, and everything after that is managed in rConfig.

Pick mapping when the directory or identity provider is where access is really decided, which it usually is in larger organisations. Leave it off when rConfig administrators need to adjust roles by hand. The Integrations guides cover SSO mapping in depth:

Uplink guideSSO role mapping patternsLet identity provider groups decide rConfig roles over SAML: how values match, patterns for Active Directory, Entra ID and Okta, and a safe rollout.Read the guide

Multi-factor authentication

rConfig has no built-in second factor. MFA comes from whatever checks the password:

  • SSO is the straightforward route. Your identity provider applies its own MFA and conditional access policies before it sends the user back.
  • RADIUS works when the RADIUS server completes the second factor on its own before answering, so rConfig just sees an Access-Accept. rConfig treats an Access-Challenge (a server asking for a one-time code) as a failed sign-in, so challenge-and-response MFA does not work.
  • Local and LDAP accounts are password only.

The accounts.mfa check counts how administrators sign in. Administrators on SSO or RADIUS pass; local and LDAP administrators are reported as password only. Expect it to flag your break-glass account, and accept the finding for that one account with a reason and a review date.

When the external service is down

Plan for the directory or identity provider being unreachable before it happens:

  • LDAP falls back to the local password, but only for users whose password was synced: Sync Password must be on, and the user must have signed in through LDAP since. Without sync, an LDAP user’s local password is random and unusable.
  • RADIUS users never get a usable local password, and rConfig never stores the one RADIUS checked. They cannot sign in during an outage.
  • SSO users cannot sign in either. Each SSO sign-in sets a new random local password, so there is nothing to fall back to.
  • Local accounts are unaffected, which is why every installation needs at least one.

Password sync has a side effect worth knowing. A directory refusal other than the authorised group check falls through to the local password, so a user disabled or deleted in the directory can still sign in with their last synced password until the rConfig account is removed. If you use sync, use the LDAP Authorized Group (which stops the sign-in outright), and remove leavers in rConfig too. The accounts.inactive check lists accounts unused for 90 days, or never used 30 days after creation.

Existing accounts are not taken over

None of the external methods adopt an existing account just because a name matches:

  • An account that existed before RADIUS was turned on is not picked up automatically, because matching on username alone would let anyone who can authenticate to your RADIUS server take over an rConfig administrator of the same name. Linking is an explicit per-user switch under Users.
  • SSO accounts are matched on the identity provider’s own user ID, not on email address.

Break-glass administrators

Keep one or two local administrator accounts for the day the directory, RADIUS server or identity provider is unavailable, or role mapping is misconfigured:

  • Give each a long, unique password stored outside rConfig (in your password manager or vault), and never the installer’s default: accounts.default_admin fails while any administrator still uses it or another obvious password.
  • Test them on a schedule. A break-glass account nobody has signed in with for a year is one you cannot trust.
  • Keep the number small. accounts.admin_count warns when more than five accounts hold the administrator role.

Password policy

For local accounts, rConfig enforces a minimum of eight characters, and nothing more: no complexity rules, no expiry, no history. Where your policy needs those, put people on the directory or identity provider and let it enforce them, and keep local accounts to the break-glass few. LDAP sign-in should always be encrypted: accounts.ldap_tls fails when LDAP is on without LDAPS or StartTLS, because every directory password would otherwise cross the network in clear text.


Type to search.