When dealing with older domains, one may encounter cases where some accounts are missing sAMAccountType attribute or primaryGroupID attribute. It is hard to spot because it should not happen. In the old time Samba was much less strict on consistency, I guess this shouldn't happen anymore, but it can be seen on older Samba domains. It would be great if dbcheck could check for those corner cases.