Users and sign-in
Edition: Local accounts COMMUNITYCommunity PROPro · directory sign-in ENTERPRISEEnterprise
What it does
Every person signs in to cinqstack with an account, and each account has one role that decides what the person may do.
- Local accounts COMMUNITYCommunity PROPro ENTERPRISEEnterprise: an administrator creates them in cinqstack, with a username and password.
- Directory sign-in ENTERPRISEEnterprise: people sign in with their Active Directory or LDAP account, or through single sign-on with an OpenID Connect provider such as Microsoft Entra ID, Okta or Keycloak. cinqstack creates their account at the first sign-in and takes their role from their directory groups.
Local accounts keep working when directory sign-in is on, so an administrator can still get in if the directory is down.
Roles
| Role | Shown as | What it may do |
|---|---|---|
read_only | read only | Opens every list, detail and report page. Can take no action. Cannot use the cinqstack Field app. |
operator | operator | Everything read_only can, plus: jobs (create, edit, run, delete, preview, apply), acknowledgements, the findings Scan now and bulk actions, monitoring Check now, segmentation runs, exceptions and the classification write, editing advisories and config-check rules, physical documents, pausing automation, and reviewing Field walk-downs. |
admin | admin | Everything operator can, plus: Settings (NetBox, schema, branding, licence, modules, users, audit log), setup, connections and credentials for every integration, monitoring scopes, notifications, Relay, directory sign-in, segmentation values and standard, the device image library, Field access, and backups. |
surveyor | surveyor | The Field app only. Any other web page sends them to the field app. PROPro |
In the Field app, surveyor may survey, operator may survey and review, and admin may do everything. read_only cannot use the field app: it is refused with Ask an administrator for the surveyor role. A surveyor sees no sites until an admin grants them some.
The menu offers each person only the pages their role can open.
What it needs in NetBox
Nothing in NetBox. cinqstack accounts are separate from NetBox accounts.
One option links the two: in Field, Who may see which sites can follow each person's NetBox user and permissions, matched by the same username or email.
Setting up
The first administrator
The setup wizard creates the first administrator account. See First run.
Add local users
Open Settings › Users (admins only). Under Add user, fill in:
| Field | Notes |
|---|---|
| Username | Must be unique: That username is taken. |
| Optional. | |
| Role | admin, operator, read only or surveyor. |
| Initial password | At least 12 characters. Give it to the person by a safe route. |
Choose Add user. The page confirms User <name> created.
Disable or enable an account
In the user list, Disable stops an account at once: the person is signed out on their next click and cannot sign in again. Enable turns it back on and also clears a lockout. You cannot disable your own account.
Reset a password
On the server, run:
cinqstack reset-password <username>
It asks for the new password twice (at least 12 characters), and also clears a lockout and enables the account. Use it to recover an administrator who is locked out.
Directory sign-in: Active Directory or LDAP ENTERPRISEEnterprise
Open Settings › Sign-in and fill in Active Directory / LDAP:
| Field | Default | What to enter |
|---|---|---|
| Enabled | off | Turns LDAP sign-in on. |
| Server(s) | One or more servers, separated by commas and tried in order: ldaps://dc1.example.com, ldaps://dc2.example.com. | |
| StartTLS on ldap:// | off | Upgrade a plain ldap:// connection to TLS. |
| Verify the server certificate | on | Check the directory server's certificate. |
| CA bundle path | A CA file on the server, if the directory's certificate is from your own CA: /data/certs/corp-ca.pem. | |
| Service account (bind DN) and Password | An account that may search the directory: CN=svc-cinqstack,OU=Service,DC=example,DC=com. The password is stored encrypted. | |
| Search base | Where to look for users: DC=example,DC=com. | |
| User filter | (sAMAccountName={username}) | How to find a user. {username} is replaced by what the person typed. |
| Name attribute | displayName | The person's full name. |
| Email attribute | mail | The person's email. |
| Groups attribute | memberOf | The groups the person is in. |
Then map groups to roles (see below) and choose Save.
People then sign in on the normal Sign in page with their directory username and password. cinqstack finds the user with the service account, checks the password by signing in as that user, and reads their groups.
Test under Look up a user (no password needed) checks the service account and the search, and shows which role a user would get: Found <DN> (<name>), <n> group(s): would sign in as <role>. If the user cannot be found: The service account works, but that user was not found (or matched more than once).
Directory sign-in: single sign-on (OpenID Connect) ENTERPRISEEnterprise
Under Single sign-on (OpenID Connect) on the same page:
| Field | Default | What to enter |
|---|---|---|
| Enabled | off | Shows "Sign in with …" on the sign-in page. |
| Issuer | The provider's issuer URL. For Entra ID: https://login.microsoftonline.com/<tenant>/v2.0. For Keycloak, for example: https://idp.example.com/realms/ot. | |
| Client ID and Client secret | From the application you registered with the provider. The secret is stored encrypted. | |
| Scopes | openid profile email | The scopes to ask for. |
| Username claim | preferred_username | The claim that becomes the cinqstack username. If the token has no such claim, the email claim is used. |
| Groups claim | groups | The claim that lists the person's groups. |
| Button label | Single sign-on | The text on the button: "Sign in with Microsoft". |
The page shows the Redirect URI to register with the provider, ending in /auth/sso/callback. Register exactly that address with the provider. When you save, cinqstack reads the provider's discovery document and tells you if it cannot (Saved, but: …).
The sign-in page then shows Sign in with <label> under the password form. The person signs in at the provider and comes back signed in to cinqstack. The Field app shows the same button on its own sign-in screen.
cinqstack uses OpenID Connect discovery, so any standard provider works. Entra ID, Okta and Keycloak are named in the product; Dex, ADFS 2019 and later, and Google also work. Google sends no groups, so with Google only the If no group matches role applies.
Map directory groups to roles ENTERPRISEEnterprise
Both forms have a table Directory group (name or DN) → cinqstack role. Enter a group as its name (OT-Engineers) or its full DN; matching ignores upper and lower case, and a DN also matches by its CN. For single sign-on, enter the values exactly as the provider puts them in the groups claim; some providers send group IDs rather than names.
When several groups match, the strongest role wins, in this order: admin, operator, surveyor, read only.
If no group matches decides what happens to everyone else: refuse sign-in (default) or sign in as a role.

Reading the results
Settings › Users lists every account with its Role, Last sign-in and Status (Active or Disabled, and locked during a lockout). Accounts created by directory sign-in carry a directory (LDAP) or SSO label next to the role.
Directory accounts are created at the first sign-in. At every sign-in, cinqstack sets the role, full name and email again from the directory, so removing someone from a group takes effect at their next sign-in.
Settings › Audit log records each sign-in, failed sign-in and lockout, each user created or disabled, each directory account created, each role change from the directory, and each sign-in refused because no group matched.
Messages people may see
| Message | What it means |
|---|---|
Sign-in failed. Check your username and password. | Wrong username or password, or the account is disabled. |
This account is locked for a few minutes after repeated failed sign-ins. | Five failed sign-ins in a row. Wait 15 minutes, or ask an admin to disable and enable the account. |
Your account has no cinqstack access. Ask an administrator to add you to a mapped group. | Single sign-on worked, but none of the person's groups is mapped and If no group matches is set to refuse. |
A local account called <name> already exists; it keeps signing in with its own password. | Single sign-on found a local account with the same username. The local account is not taken over. |
This account is disabled. | An admin disabled the account. |
The sign-in took too long or was started elsewhere; try again. | The single sign-on round trip expired or was opened in another browser. |
The identity provider refused: … / Token exchange failed: … / The identity token is not valid: … | The provider refused the sign-in, or the client ID, secret, redirect URI or clock does not match. |
Findings it raises
None. Five failed sign-ins in a row lock an account for 15 minutes. This applies to local accounts, the Field app and LDAP sign-in.
Limits
- Local accounts always work, also when the directory is down. Keep at least one local administrator as a break-glass account.
- A local account wins. If a local account and a directory user have the same username, the local account signs in with its own password; LDAP is not asked and single sign-on is refused.
- Directory accounts have no cinqstack password. They sign in only through the directory.
- Without an Enterprise licence, directory users cannot sign in. Local accounts are not affected.
- Changing an existing account. The Users page adds, disables and enables accounts. It does not change a local user's role or password, or delete an account. Reset a password with
cinqstack reset-password. - Cutting someone off. Disable their account; it applies on their next request. For a directory user, removing them from the mapped groups applies only at their next sign-in, so disable the account as well to stop them at once.
- One LDAP directory and one single sign-on provider. Several LDAP servers can be listed, but they must be copies of the same directory.
- Passwords for local accounts must be at least 12 characters.
- No SAML. Single sign-on is OpenID Connect only.
- Sessions. A web sign-in ends after 60 minutes without a page view or form post, and 12 hours after signing in, active or not. An admin changes the first limit under Settings › Users › Sign-in sessions (5 to 720 minutes). Requests a page makes by itself, such as status polls, do not count as activity, so an unattended tab still times out. The sign-in page then says which limit was reached ("You were signed out after 60 minutes without activity." or "Your session reached its 12-hour limit."), and signing in again returns to the page that was open. Both timeouts are written to the audit log. In the Field app, Keep me signed in keeps a device signed in for 14 days from sign-in.