python/samba/netcmd/{forest.py,main.py}: add configuration controls