Sambaconfig is a collection of cgi scripts, which calls a common executable (smbread) to generate forms to edit the Samba smb.conf file. It can also be used as a standalone program called by inetd. This application preserves the original smb.conf layout, including comments and include files. Deletions from the config file(s) are made by commenting out the parts to be deleted. It is easy to add custom forms to edit parts of the smb.conf file. Examples included.