Date: Fri, 04 Mar 2022 12:01:00 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262339] pw useradd fails when winbindd is active Message-ID: <bug-262339-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262339 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: tictactux@gmail.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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262339-227>