Creating a user as a member of a group fails to add that group to the user
When creating a user, if a group is selected during account creation, the group is not added to the user at the OS level, and an error is logged:
/system_usermanager.php: The command '/usr/sbin/pw groupmod -l 'admins' -g '1999' -M '0,2020' 2>&1' returned exit code '67', the output was 'pw: user `2020' does not exist'
It would appear the sync process is attempting to add the user to the group before the user exists in a way visible to
This group will not appear on the user in the OS until after a reboot, or after the group is removed and added again.
Adding a group to an existing user works and does not produce an error.