Skip to content

conductor v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 02:54
· 2 commits to main since this release
v0.3.0
4ba91b1

conductor 0.3.0 adds a container filter to the Users, Groups and Computers lists, the PTR record of a new address, editable DKIM and other underscore records in the AD zones, multi-line TXT data, and a user Attributes tab with an opt-in attribute editor. It also closes the remaining findings of a security review of conductor (keyed audit chain, step-up before adding a second factor, one answer for every refused sign-in, a wider protected set, checks in conductor-helper). conductor and conductor-helper are built with Go 1.27.4, which fixes a crash in net/http (GO-2026-6859).

Upgrade notes

  • conductor now requires an audit key. New audit rows are chained with HMAC-SHA256 under a root-only key, /etc/conductor/credentials/audit-key, which the service receives with LoadCredential=audit-key; conductor does not start without it. The .deb and .rpm packages create the key on install and before an upgrade restarts conductor, and never replace an existing one; conductor setup creates it when it is missing. Installs from source or with their own unit file must create it before starting 0.3.0, for example (umask 077; od -An -tx1 -N32 /dev/urandom | tr -d ' \n' > /etc/conductor/credentials/audit-key), and add LoadCredential=audit-key:/etc/conductor/credentials/audit-key to the unit (or set [audit] key_file).
  • Back the audit key up offline, with the TOTP key and the operator's age key. Neither key is in conductor-backup archives, and without the audit key the keyed part of the chain cannot be verified after a restore. Rows written before the upgrade keep their plain SHA-256 hash; the first keyed row is an audit.key_start marker, and conductor audit verify says from which row the chain is keyed.
  • Right after the upgrade, sudo conductor audit verify can exit 1 with "not keyed yet": the audit.key_start marker is written with the first audited event after the upgrade, for example a sign-in. Run the check after that event.
  • conductor audit verify and conductor enroll-link read the root-only key and then drop to the owner of the database, so they now run with sudo (for example sudo conductor audit verify) instead of sudo -u conductor.
  • With the single sign-on section enabled ([idp] enabled = true), upgrade conductor and conductor-idp together. conductor 0.3.0 speaks version 2 of conductor-idp's management protocol, which carries the new per-client email_verified setting; the protocol has no version negotiation, so conductor 0.3.0 needs conductor-idp 0.2.0, and conductor-idp 0.2.0 refuses requests from conductor 0.2.x. The second-factor socket protocol between the two is unchanged.
  • conductor-helper refuses backup policies below a retention floor: [backup.retention_floor] in /etc/conductor/helper.toml, default 7 daily, 4 weekly, 12 monthly, applied also when the section is absent. A lower policy from the Backups page is refused; lowering the floor takes an edit of helper.toml as root. On Debian an edited helper.toml is kept and the new default lands next to it as helper.toml.dpkg-dist. A policy below the floor that was set before the upgrade stays in force until it is changed. With apt, every configuration file edited since install (helper.toml here, the same for the other components) makes dpkg ask whether to keep it; keep the installed version, or pass -o Dpkg::Options::=--force-confold for an unattended upgrade. A change requested through the helper (back up now, run a drill, policy) must also name a domain account; conductor's background identity may only read the status.
  • The database migration is forward only: conductor 0.2.1 does not start on a database opened by 0.3.0. Back up /var/lib/conductor before upgrading if you may need to go back.
  • Users see changed sign-in and second-factor behaviour. Every refused sign-in (unknown, wrong password, locked, disabled, expired or restricted account) gets the same message and answers no sooner than 750 ms after the request; the reason stays in the audit log, and passwords proven expired or marked must-change still open the change page. Adding TOTP or a security key from self-service needs a step-up from the last 10 minutes (the password and a current second factor, at sign-in or on the new /me/security/verify page, or the password alone for a user with no factor yet). Every added factor is announced by e-mail to the account's address and the recovery address.
  • The protected account set is wider. Helpdesk can no longer act on, and administrators must re-authenticate for, members of Enterprise Read-only Domain Controllers, Read-only Domain Controllers, Key Admins, Enterprise Key Admins, Replicator, DnsAdmins, conductor's helpdesk and auditor groups, and accounts with adminCount=1. Groups that are privileged, DnsAdmins, nested into a privileged group or marked adminCount=1 are protected too, and a lookup error counts as protected.
  • Users who enrolled only a security key keep a second factor when WebAuthn is turned off (rp_id cleared): they are asked for TOTP or a recovery code instead of signing in with the password alone, and conductor logs a warning at start when keys are stored and WebAuthn is off. Only an administrator's 2FA reset removes the keys.

Directory and DNS

  • Container filter (#36): the Users, Groups and Computers lists have a "Container" picker with "Entire domain" (the default), the OUs the signed-in user can read and CN=Users or CN=Computers, drawn as an indented tree. The choice travels as ?ou=, so a filtered list can be bookmarked, and the text filter, the status filter and the pager keep it. The value is used only as the search base, never inside an LDAP filter; it must be a DN below the domain that matches a container just read from the directory, and anything else shows the entire domain with a notice. Searches still bind as the signed-in user.
  • PTR records (#37): when the directory holds a reverse zone, the "Add record" form of a forward zone offers, unchecked, "Also add the matching PTR record" for A and AAAA records. The most specific reverse zone covering the address is used and the PTR record points to the full name of the new record. The preview shows both; the PTR record is added after the address record as a separate change with its own audit entry. An existing PTR record with the same target counts as done, one with another target is left alone and reported, and a failed PTR record leaves the address record in place with an error message.
  • Underscore names (#38): only the records a domain controller registers stay read-only in the AD zones: the _ldap, _kerberos, _kpasswd and _gc locators under _tcp and _udp, everything under _msdcs, _sites, DomainDnsZones and ForestDnsZones, the apex addresses, the domain controllers' host records and the apex SOA and NS records. Other names, such as _dmarc, selector._domainkey, _acme-challenge, _mta-sts or an application's _sip._tcp record, can be created, edited and deleted. The server refuses changes to the AD-managed records whatever the form sends.
  • TXT records (#46): TXT data is typed in a multi-line field, one character-string per line, on the add form and on the edit page. A line longer than 255 bytes is split into 255-byte strings, never inside a UTF-8 character; a line that starts with a double quote is read as quoted strings; a record holds at most 4000 bytes. The preview shows the record in the quoted form it will be stored in, the edit page shows the strings one per line again, and saving it unchanged changes nothing. One-line input keeps working as before.

Attributes tab and attribute editor (#35)

  • A user's page has an Attributes tab for administrators and auditors (not helpdesk, which gets 403). It lists every attribute the signed-in user may read on the account, read with that user's own ticket. Password hashes and histories, supplementalCredentials, gMSA, LAPS, BitLocker and TPM data, key credentials, nTSecurityDescriptor and trust secrets are never shown; binary values and values with control characters show only their size; at most 50 values per attribute and 1024 bytes per value are shown.
  • An attribute editor for administrators is off by default and turned on with [ui] advanced_attribute_edit = true in conductor.toml and a restart; while it is off its pages answer 404. It writes only loginShell, unixHomeDirectory, uidNumber, gidNumber, gecos and otherMailbox, validates every value on the server, refuses a uidNumber another account uses and attributes Google-first owns, and goes through the usual preview and confirmation. The write is conditional on the values read for the preview and is audited as user.attributes_update with old and new values. Protected accounts always ask for re-authentication; other accounts when the second factor is older than five minutes.

Security fixes

  • Keyed audit chain with a head anchor (audit_head), so rewritten rows and rows removed from the end are detected. Every row, without its detail, is also written to the service log for journald and syslog forwarding ([audit] journal, default on).
  • Audit export and verification read in batches and release the database between them, so a slow export no longer holds SQLite's only connection.
  • Recovery codes requested from /me/2fa/recovery-codes go through the sign-in limits, and the session ends after five wrong codes.
  • The identity after sign-in is confirmed with the domain controller's WhoAmI answer, and a mismatch fails the sign-in and is audited as "identity mismatch". A change of an expired password is reported as done only after a verified sign-in with the new password.
  • Sign-in rate limit tables no longer clear every counter when full: idle entries are pruned and keys that cannot be tracked share one overflow limit. IPv6 clients are limited per /64 network (the audit log keeps the full address), and every X-Forwarded-For header line is read behind a trusted proxy.
  • With [idp] configured, every second-factor change made in conductor and every password reset by an administrator (also in bulk jobs) calls conductor-idp's user.revoke, audited as sso.user_revoke, so sessions made with the old credentials end. A failed call keeps the change and is logged, audited and shown with how to end the sessions by hand.
  • The OpenID Connect client form has an "Assert email_verified" box, off by default.
  • The Google Workspace import decides group protection with the full protected check, and a second factor enrolled through an invitation link also sends the e-mail notice.
  • conductor-helper checks the caller a request names (well formed, valid address) and logs it as caller_asserted next to the proven peer.

Dependencies

Built with Go 1.27.4. Updated modules: fxamacker/cbor 2.10.0, golang.org/x/term 0.48.0, modernc.org/sqlite 1.62.0, and the samba-conductor-ad library with the changes above (verified Kerberos sign-in, DNS policy, attribute reads and writes, TXT parsing).

Known limits

  • The duplicate uidNumber check is made against the directory when the change is previewed; tools other than conductor can still assign the same number later.
  • Browsers without CSS :has() keep the one-line Data field for TXT records, which still accepts TXT data.
  • The PTR option is shown only on forward zones, when a reverse zone covers the address.

Packages: conductor 0.3.0-1 (.deb for amd64 and arm64, .rpm for x86_64 and aarch64) and conductor-selinux 0.3.0-1, with CycloneDX SBOMs and SHA256SUMS signed with the OpenBasalt packages subkey. On Debian and Ubuntu, from the APT repository at https://obpkg.org/apt: sudo apt update && sudo apt install --only-upgrade conductor. On Basalt OS and Fedora, from basalt-tools: sudo dnf upgrade conductor.

How to verify: https://github.com/openbasalt/samba-conductor-docs/blob/main/verifying-releases.md