Date: Fri, 04 Mar 2022 12:01:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262339 Bug ID: 262339 Summary: pw useradd fails when winbindd is active Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: email@example.com Scenario: create a new local user Problem: ~ $ sudo pw useradd testuser pw: gid '19108' has already been allocated Solution: An uid and gid must be explicitly set, only then pw useradd would succeed. Cause: samba and winbindd are running, and winbind is present in /etc/nsswitch.conf Comment: After stopping samba, the user is successfully added to /etc/passwd with the next-in-sequence uid. Workaround: stopping either samba or commenting out the "winbind" reference in /etc/nsswitch.conf solves the issue. Could it be possible duplicate or relative of bug 205019? Best, Ben -- You are receiving this mail because: You are the assignee for the bug.