If you don't want to spend money buying windows server to manage your network or domain, then you can use Ubuntu server capability using Samba. Installing Samba on Ubuntu is like having a windows server that enables you to manage your windows computer/ clients. So this is much like you are having a windows server on your network and yet you are only using ubuntu with samba installed and act as an active directory.
I wabt to share a video on how you can setup a web server using FreeNAS. One thing good about freenas is that its free and you can do a lot of file server stuff on freenas. But in this video freenas is setup as a web server and it is fully functional. It can be used as file sharing on the internet and all cool internet sharing services.
I am going to show you today on how to setup samba directory on ClearOS. Samba directory is an application used in ClearOS much like windows active directory. After installing ClearOS you will have to install samba directory app immediately to start setting up.