If you write new account modules they
may not fit in the existing group of account types (user, group, host,
...). In this case you can easily create a new account type.
This document provides a step-by-step description to build a type
module. The smbDomain
module which handles Samba domains is used as example.