Why Zammad password policy and account lockout matter for a production helpdesk
This section explains why password length, complexity and lockout behavior deserve deliberate settings in a production Zammad helpdesk, and where those controls stop applying. Many organizations run agents and administrators on local Zammad passwords for months before anyone reviews them, so the defaults you accept at install time become your access policy. The rest of this page covers how to set the policy, why some password changes ignore it, how to unlock accounts, how LDAP users behave differently, and when to move staff to single sign-on so fewer local passwords exist at all.
A helpdesk is a common target because it concentrates valuable material in one place. Agents read customer conversations, attachments and personal details, and a privileged agent or administrator account can often reach other systems through integrations, webhooks and the REST API. A weak or reused password on one agent account can therefore expose far more than a single mailbox. Lockout thresholds matter for the same reason: they slow down password guessing, but they also affect support staff who mistype a password during a busy shift, so the threshold is a trade-off you should decide and document rather than inherit.
The exact setting names, available options and their behavior depend on the Zammad version you run, so confirm them against the admin documentation for your release before you change anything in production. Test the policy on a staging copy first, and check how it interacts with your identity provider, because a policy that looks complete in the admin interface may not cover accounts that sign in through LDAP or SAML. Write down which accounts follow the local policy, which do not, and who can override either.
Password and lockout options and when each fits
This table compares the password and lockout controls an administrator can set or review in Zammad, and the account types each one reaches. Read each row against your own version's admin settings, because the exact setting names and default values are not confirmed here. The main takeaway is that local password controls only cover local accounts, so the right mix depends on how many staff sign in through LDAP or SSO.
| Control | When it fits | What you must verify in your version |
|---|---|---|
| Minimum password length | Local-only teams with no directory or SSO, where Zammad holds every password | The minimum length setting, whether it applies to agents, admins and customers, and whether existing passwords are checked at next change |
| Complexity rules | Local-only teams that must meet a written password standard for auditors | Which character classes the policy enforces, and whether it rejects common or reused passwords, which many setups do not |
| Lockout after failed logins | Mixed local and LDAP teams, or any team exposing the login page to the internet | The failed-attempt threshold, the lockout duration, and whether the lockout applies to local accounts only |
| Administrator unlock | Any deployment, as the recovery path when a user is locked out | Who holds the admin role that can unlock accounts, and whether unlocks appear in the admin audit log |
| Admin-set passwords | Onboarding or emergency resets for local accounts | Whether an admin-set password is held to the same policy as a user-chosen one, since admin resets can bypass policy checks |
| LDAP-backed users | Mixed environments where the directory is the source of truth for passwords | Whether failed logins against the directory trigger Zammad lockout at all, since the directory's own policy may apply instead |
| Disabling local password login for SSO users | SSO-first organizations that want no local passwords for staff | How to block password login per role, whether a break-glass admin account remains, and how it interacts with SAML or OpenID Connect sign-in |
Configuring password length, complexity and lockout in order
This sequence changes Zammad's local password rules in a controlled order, so each change is tested and visible before staff depend on it. The result is a documented baseline and a clear list of accounts that still sign in with local passwords.
Confirm the Zammad version and release notes
The administrator records the running Zammad version from the admin interface and compares it with the current entries on the Zammad releases page, including any security releases on the same line. Confirm in the release notes whether the password or lockout settings changed in that version, because setting names and defaults can differ between lines. Check that the staging copy runs the same version as production. Done when the version, the release notes you reviewed and any known differences are written in the change record.
Record the current password and lockout settings
Before changing anything, the administrator opens the security settings in the admin interface and captures the current values for minimum length, character requirements and failed-login lockout behavior. Export or screenshot the page so the baseline can be restored if a rule blocks legitimate logins. Note which accounts currently use local passwords and which authenticate through a third-party provider. Done when the baseline is saved with the date, the version and the name of the person who made the record.
Set password length and complexity on staging
On the staging copy, the administrator sets the minimum password length and the character requirements the organization has chosen, based on its own policy and any framework it must follow. Save the change and confirm it appears on the security settings page with the new values. Where possible, make the same change on production only after the staging tests pass. Done when the saved values match the written policy and the change is recorded in the change log.
Set lockout behavior on staging
The administrator configures the failed-login threshold and the lockout behavior the policy requires, then saves the settings on the staging copy. Confirm the values are shown on the admin page and note exactly which accounts the setting applies to, since LDAP-backed users may not be locked by the same rule. Ask the vendor or check the documentation for the current lockout options in your version before you rely on them. Done when the settings are saved and the scope of the lockout is documented.
Test with a non-production account
Create or use a test agent on staging and attempt to set a password that violates the new length rule, then one that misses a required character class. Confirm each attempt is rejected with a message that names the failed rule. Next, enter the wrong password repeatedly to confirm the account locks at the configured threshold, then unlock it as an admin. Also test a password change by an admin, since admin-set passwords may not be checked against the same policy, and record the result. Done when every rejection and lockout behaves as the written policy says and the results are logged.
Apply the settings to production and verify
Repeat the saved settings on production during an agreed window, then sign in with a test account to confirm the new rules apply. Check the admin interface again to verify the saved values match the staging record. Watch for support requests from agents who are locked out and confirm the unlock steps work for them. Done when production shows the approved values and the test account results match staging.
Review accounts that still use local passwords
Export the user list and identify every account that signs in with a local Zammad password, separating agents, admins and customers. Compare this list with the accounts that already sign in through SAML, OpenID Connect or another provider, and note accounts whose failed logins do not trigger lockout because they authenticate through LDAP. Decide with the identity owner which accounts move to SSO and which keep a local password under a documented exception. Done when every local account has an owner, a decision and a follow-up date in the record.
Why admin-set passwords can bypass the policy
An administrator who sets or resets a password directly in Zammad may not trigger the same validation as a password a user chooses for themselves. Treat this as something to test in your own version, not something to assume. Set a test agent account, reset its password as an admin using a value that breaks your configured length and complexity rules, and see whether Zammad accepts it. Repeat the test for a user chosen password so you can compare the two results side by side.
The risk is a weak temporary password that outlives the reset. If an admin hands out a simple temporary password and the user is never forced to change it, that password becomes the working credential, and anyone who learns it, including a colleague or someone who sees it in a ticket or chat, can sign in as that agent. Confirm in your version whether Zammad prompts a user to change a password at first login after an admin reset, and whether that prompt can be relied on for every account type you run. If it cannot, the change has to happen through your own process.
Define that process before the first reset. Generate temporary passwords that meet your policy and are unique per reset, send them through a channel separate from the account username, and agree who may perform resets and how each one is logged. Where you can, move agents to SSO so no local password exists to reset. Ask your Zammad partner or the vendor to confirm the first-login behavior for your release, since the admin documentation is the place to check current settings rather than memory.
How local, LDAP and SSO accounts are locked out differently
Local accounts store their password in Zammad's own database, so Zammad performs the credential check and applies its own lockout settings. Failed logins that Zammad itself evaluates count toward the threshold you configure, and the password policy you set governs what a user may choose. This is the only source where the settings in the admin interface fully control the outcome.
- Zammad checks the password: Each failed attempt for a local account is recorded by Zammad, which is what the lockout threshold counts.
- Policy applies on change: Length and complexity rules affect passwords users set or change themselves.
- Admin-set passwords need care: Confirm in your version whether passwords an administrator sets are checked against the same policy, because the behavior has been a source of confusion.
- Unlocking is an admin task: A locked local account is released by an administrator, so define who may do this and how the request is verified.
- Test the threshold: Use a dedicated test account to confirm the number of failures that triggers a lock and how long it lasts.
Before relying on these settings, run failed-login tests with a test account on your own version and record the results.
For users authenticated against a directory, the password is checked by the LDAP server during the bind, not by Zammad's password store. Zammad lockout settings may therefore never see the failed attempt, and the account can keep failing in the directory without triggering a Zammad lock. Lockout for these users is governed by the directory's own policy and by how the bind is performed.
- The directory decides: Account lockout, password complexity and expiry come from the directory, such as Active Directory or OpenLDAP, not from Zammad.
- Bind behavior matters: Check how Zammad binds and whether failed binds are returned in a way that Zammad records as a login failure.
- Expect different counts: The directory threshold and the Zammad threshold can differ, so a user may be locked in one place and not the other.
- Unlocking happens in the directory: Resetting a directory lock may be the only action needed, so give the directory team the runbook.
- Use LDAPS: Confirm that bind credentials and user passwords travel over an encrypted connection in your environment.
Confirm these behaviors with test accounts in both the directory and Zammad, and review the third-party login documentation for the directory integration you use.
Users who sign in through SAML or OpenID Connect do not submit a password to Zammad at all. The identity provider authenticates them, so Zammad's local password policy and lockout threshold do not apply to those logins. Protection comes from the identity provider's lockout, multi-factor and session rules, and from how Zammad trusts the assertions or tokens it receives.
- No local password check: Zammad receives a signed assertion or token rather than a password for these users.
- Identity provider owns lockout: Thresholds, lock duration and step-up authentication are set in the provider.
- Local fallback can undo SSO: If a local password still exists for an SSO user, that password is subject to Zammad's local rules, so review which accounts keep one.
- Moving staff to SSO reduces local passwords: Plan the cutover so agents and admins no longer depend on a local password for everyday sign-in.
- Keep a recovery path: Document how an administrator signs in if the identity provider is unavailable, and protect that path.
Confirm how your identity provider handles lockout and check the third-party login documentation for each provider you connect.
Unlocking accounts without weakening the policy
Lockouts in Zammad are resolved through four different paths, depending on where the account is authenticated. Each path has its own owner, its own verification step and its own record, so the unlock process should be written down for each one before the first lockout happens.
Verify local unlock requests first
A locked local account is unlocked by an administrator in Zammad's user management. Before doing so, confirm the request through a channel the user did not start, such as a call to a known phone number or a message from the manager already on record, because a lockout is a common step in account takeover attempts. Confirm who currently holds the admin role, since every admin can unlock any local account, and remove the role from people who no longer need it.
Zammad admin docsUnlock LDAP accounts in the directory
Accounts that authenticate against LDAP or Active Directory are unlocked in the directory, not in Zammad, because failed logins against the directory do not lock the local record. Ask the directory team to confirm which lockout policy governs these accounts and whether the directory administrator performs the unlock after the same out-of-band check. Note the directory administrator in the request ticket so the unlock is traceable across both systems.
Unlock SSO users at the provider
When staff sign in through SAML or OpenID Connect, the identity provider holds the credentials and the lockout rules, so the unlock belongs there. Confirm which team owns the identity provider, whether it enforces its own lockout threshold, and whether a Zammad admin can still sign in locally if the provider is down. A reset in the provider does not clear a local Zammad password, so check both sides before closing the request.
Keep admin-set passwords within policy
An administrator who sets a password directly on a user record can bypass the length and complexity rules that apply when users choose their own. Treat admin-set passwords as temporary, require the user to change them at first sign-in where the option exists, and confirm whether your Zammad version applies the policy to admin-set values. Record which admins are permitted to set passwords at all.
Record every unlock in the audit trail
Unlock actions performed by administrators should appear in Zammad's audit log, which is read-only and retained for a fixed period. Confirm that your audit entries show the administrator, the target account and the time, and check that directory and identity provider unlocks are captured in their own logs. Export the relevant entries if your review period is longer than the retention window.
Review unlock patterns regularly
Repeated lockouts on one account, or many lockouts across a team, can indicate password spraying or a misconfigured integration rather than forgotten passwords. Ask who receives lockout alerts, how often someone reviews them, and whether unlock requests are reconciled against the ticket queue. Agree a written owner for this review before go-live so it does not fall to whoever notices first.
How a login decision flows across local, LDAP and SSO accounts
The login starts at Zammad's sign-in form, and the account source decides which path runs next. Local accounts are checked against Zammad's own password policy and failed-attempt counter inside Zammad. LDAP accounts cross a trust boundary, so the directory decides whether the bind succeeds, and failed binds may not increment a Zammad lockout counter. SSO accounts are redirected to the identity provider, which owns the password and lockout rules. Check each branch separately, and confirm where an administrator unlock actually takes effect.
Login paths for local, LDAP and SSO accounts, with the lockout point and trust boundaries marked.
Security risks of local passwords and weak lockout
Local Zammad passwords are the weakest link when login pages face the internet or when staff reuse credentials. The cards below cover the risks that appear most often in password policy and lockout reviews, and each points to the hardening task that closes it.
Password guessing against exposed login pages
If the agent or customer login page is reachable from the internet, attackers can script guesses against known staff email addresses. Confirm which login paths are public, whether your reverse proxy rate limits them, and whether failed attempts lock the account under the policy you set. Pair this with two-factor authentication for agents and admins so a correct guess alone does not grant access. The Zammad documentation explains the reverse proxy setup that sits in front of these pages.
Zammad requirementsCredential reuse from other breaches
Staff often reuse passwords from breached services, so a leaked password from another site can open a Zammad account with no guessing at all. Length and complexity rules do not stop reuse on their own. Check whether your policy blocks known-breached or previously used passwords, and make sure agents with access to customer data are moved to SSO where possible. Review active sessions after any suspected exposure, as covered in the session management page.
Weak temporary passwords set by admins
When an administrator sets a password for another user, that value can bypass the length and complexity rules applied to users choosing their own. Temporary passwords are often short, shared by chat or email, and never changed. Ask who can set passwords, how the temporary value is delivered, and whether the user is forced to change it at first login. Prefer a reset link or SSO account over an admin-typed password.
Shared admin accounts
A shared administrator login removes individual accountability, so failed logins, password changes and role edits cannot be traced to a person. It also means a lockout or password change affects everyone who uses the account. Create named admin accounts for each person, keep a small break-glass account with strong controls, and review admin changes in the audit log page. Confirm that no integration or script logs in with a shared human account.
LDAP users assuming lockout applies
Users who authenticate against LDAP may expect Zammad's local lockout threshold to protect them, but failed logins against the directory are handled by the directory, not by Zammad's local counter. Confirm lockout behavior in your directory policy and test it with a non-production account. Map this to the LDAP and directory setup pages so your team knows which system enforces each control.
Locked-out admins pressuring control changes
When an administrator is locked out during an incident, the fastest fix is often to loosen the policy or switch off 2FA, and those changes can stay in place long after the incident ends. Document a recovery path before you need it, including who can unlock accounts and how identity is verified. Record every temporary relaxation and reverse it, and keep the 2FA recovery procedure ready so no one has to disable controls under pressure.
Questions buyers ask about Zammad password policy and lockout
Can the Zammad password policy be set in the admin interface alone?
Yes for the basics. Length, complexity and lockout behavior are configured in Zammad's security settings, and an administrator can review them without touching the server. The harder part is what the admin interface does not cover: passwords set by an administrator through user management can bypass the policy, existing accounts may carry weak passwords from before the change, and any login path that uses an external directory or identity provider follows that system's rules instead. A review checks each of these paths, so the policy you configure is the one that actually applies to every account. Confirm the exact settings available in your installed version against the admin documentation before you plan the change.
Can Zammad lock out LDAP users after failed logins?
Not in the same way as local accounts. When a user authenticates against an external directory, the password check happens in that directory, so failed attempts are counted and enforced there, not by Zammad's local lockout threshold. Your directory's own lockout, password and audit settings decide whether a user is locked. Confirm this behavior in your Zammad version and directory setup, and test it with a disposable account so you know which events are logged, where, and who gets alerted. Ask your partner to document this split as part of the scope.
How long does a Zammad password policy review take, and what drives the effort?
The duration depends on scope, and no fixed figure applies to every environment. The main drivers are the number of account sources (local users, LDAP, SSO providers), any custom integrations that create or modify users through the API, whether a staging copy is available for testing, and how deep the verification goes. A review limited to settings and documentation takes less effort than one that also tests lockout across each account source and checks admin reset paths. Ask for a timeline in the written scope, with each assumption listed. The fixed-scope quote follows from that written scope.
What does the client need to provide for a password policy engagement?
The work needs administrator access to the Zammad instance, a staging copy where test accounts can be locked and unlocked without affecting staff, and read access to any directory that authenticates users. You also need a current list of account sources, including local accounts, LDAP servers, and SSO providers, plus the names of the people who own each one. If custom integrations create users, the team responsible for them should confirm how they set passwords. Ask your partner to list these inputs in the written scope so access requests start before the work begins.
Can our own team change the password policy and lockout settings?
Yes, if an administrator with the right access can make and test the changes. Many teams handle the settings themselves and bring in help for the parts that need cross-system judgment, such as directory lockout coordination, checking admin-set passwords, and documenting the result for an auditor. Decide early which parts your team owns. Costs for an outside review come from the time of the people doing the work, the depth of testing, and the number of systems involved. Ask for a quote that separates configuration, testing, and documentation so you can compare it with internal effort.
Is moving staff to SSO only a Zammad task?
No. Zammad supports third-party login through SAML, OpenID Connect and several providers, but the change also depends on your identity provider, group and role mapping, and how accounts are provisioned and removed. Staff who still have local passwords need a plan for turning those logins off, handling break-glass administrator accounts, and confirming that deprovisioning in the identity provider ends Zammad access. Work on the identity provider is often a larger share of the effort than the Zammad configuration itself. Plan both sides together, and confirm the supported login options in the third-party documentation for your version.
Do we need to pay for a Zammad license to enforce a password policy?
Self-hosted Zammad has no license fee, so the cost of this work comes from the labor and testing involved, not from a software license. Self-hosted support subscriptions are a separate purchase: Zammad lists Business at 2,999 EUR per year, Enterprise at 5,999 EUR per year and Corporation at 9,999 EUR per year on its pricing page. A support subscription does not replace the review itself. Confirm current prices and response terms on the pricing page before budgeting, since they can change.
Limits to confirm in your environment
Password policy and lockout behavior depend on the Zammad version you run, how accounts are created, and what your directory or identity provider enforces. The cards below list the points to confirm in your own environment before you write a policy down or assume it applies to every account.
Setting names and defaults
Confirm the exact password length, complexity and lockout settings in the administration interface of your installed version, along with their default values. Do not rely on a setting name or default from an older guide or a forum post. Record the values you find on a staging copy so you can compare them after each upgrade.
Zammad admin docsRelease notes for your version
Check the Zammad releases page for the line you run, since security fixes were published in parallel for the 6.5 and 7.x lines. Read the notes for any release between your current version and the target version, paying attention to changes in authentication, password handling and lockout. A fix on one line does not automatically reach the other.
Zammad releases pageAdmin-set password validation
Test whether passwords set by an administrator in the user edit screen go through the same validation as passwords a user chooses. If they do not, a weak password can be set by an admin even when the policy is strict for self-service changes. Write this result into your change record so reviewers know which path enforces the rule.
LDAP and SSO lockout behavior
Confirm whether failed logins for directory-backed users increment the local lockout counter at all. Directory accounts are usually checked against LDAP or the identity provider, so Zammad's local threshold may never apply. Compare the lockout and password rules in your directory or identity provider with the ones in Zammad and assign ownership for each.
Restart and maintenance requirements
Check whether a change to password or lockout settings takes effect immediately or needs a service restart, since restarts affect all agents and customers using the helpdesk. Schedule the change in a maintenance window if a restart is required. Confirm this behavior on your own install, because it can differ by deployment method.
Who can unlock accounts
Confirm which roles can unlock a locked account and whether unlocking through the admin interface also resets any failure counter held elsewhere. Document the unlock procedure, including how a locked administrator recovers access when no other admin is available. Test this on staging before you rely on it during an incident.
How DeployOpen scopes and delivers Zammad password and lockout hardening
DeployOpen treats Zammad password policy and account lockout as a scoped piece of work inside your own infrastructure. We agree what is in scope in writing, configure and test the settings against your identity model, and hand over a documented result your team can operate and review.
How we scope
- Inventory which Zammad accounts sign in with local passwords, LDAP or SSO, and which admins can set passwords directly.
- Agree the target password length, complexity and lockout thresholds with your security team before any configuration changes.
- Record in writing which login paths are covered, including LDAP users, admin resets and any SSO migration for staff.
How we build
- Apply the agreed password and lockout settings in a staging Zammad first, then in production under a planned change window.
- Test failed-login behavior for local and LDAP accounts, confirming that lockout and unlock steps work as the policy describes.
- Check that admin-set passwords and password reset paths follow the same rules as user-chosen passwords, and fix any gaps found.
How we hand over
- Deliver a written configuration record listing each policy value, where it is set and who approves changes to it.
- Provide a runbook for unlocking accounts, handling locked-out staff and reviewing lockout events in your own logs.
- Walk your administrators through the settings and document any items that remain with your identity provider or directory team.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer if your policy or Zammad version changes.
- Ask for the written scope to confirm which accounts, login paths and Zammad versions are covered before you approve a quote.

