Sample add group script on page cxliv of Samba HOWTO will behave incorrectly when there is a username smbtmpgrp00 that is contained in some group and listed in /etc/group. It is necessary to replace all smbtmpgrp00 search patterns in that
script with ^smbtmpgrp00.
Fixed in SVN.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.