One or more playbook runs remain in a running ("hung") state for days, while the same playbook completes successfully both before and after the affected runs. The behavior is intermittent and does not correlate with playbook logic.
The associated backend symptom is a error of the form:
local user with ID <UID> does not exist
The affected UID is large (in the millions), which is characteristic of an AD user mapped through the winbind idmap range rather than a local /etc/passwd entry. Resolving such a UID depends on a running winbindd, because the operating system (OS) resolves it via getpwuid() → Name Service Switch (NSS) → nss_winbind → winbindd.
Playbook runs that launch child playbooks appear more susceptible, as the additional orchestration widens the timing window in which a database call can coincide with a winbind restart. Because each outage lasts only a second or two every 30 minutes, the failure surfaces only under this race condition.
Confirm the resolver in use. SOAR and PostgreSQL do not call winbind directly; the OS decides the resolution path via NSS. Verify configuration:
grep '^passwd' /etc/nsswitch.conf
grep '^group' /etc/nsswitch.conf
grep '^shadow' /etc/nsswitch.conf
The presence of winbind on the passwd line indicates AD accounts are resolved through winbind. An empty or missing /etc/sssd/sssd.conf and no output from journalctl -u sssd confirm that the System Security Services Daemon (SSSD) is not the active resolver.
Confirm the account normally resolves (it will resolve while winbindd is up):
getent passwd <UID>
wbinfo --uid-info=<UID>
systemctl status winbind
Inspect the Samba/winbind logs in /var/log/samba/ — primarily log.winbindd, plus the domain child log log.wb-<DOMAIN> and log.winbindd-idmap:
ls -lh /var/log/samba/
Look for repeated, paired restart events:
Got sig[15] terminate (SIGTERM, signal 15) followed by winbindd version <x.y.z> started.19:37, 20:07, 20:37, 21:07 …) indicates a scheduled job rather than an organic crash.Correlate the winbind restart timestamps with the timestamps of the hung playbook runs and the PostgreSQL "local user … does not exist" errors to confirm the transient NSS failure as the cause. A useful indicator that the problem spans the fleet (pointing to a centrally applied policy) is the same restart pattern appearing on hosts other than the SOAR server.
Identify what restarts winbind every 30 minutes. Check cron and scheduled tasks (crontab -l, /etc/cron.d/*, systemd timers), configuration-management automation (Puppet, Ansible, Chef), and centrally applied schedules such as an AWS SSM State Manager association running on a rate(30 minutes) schedule.
Stop or reschedule the offending job so that winbindd runs continuously. Where configuration management triggers the restart, make the automation idempotent — restart the service only when its configuration actually changes, not on every run.
Got sig[15] terminate entries in log.winbindd and no new hung playbook runs over an extended window.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |