Samba 4.0 has been released which includes full Active Directory support. I will be looking into running a small domain controller and will post a few tutorials showing how to get everything setup with both Windows and Linux.
Official wiki HOWTO here: https://wiki.samba.org/index.php/Samba4/HOWTO
Thanks for this tutorial!
I am working on a Ubuntu 12.10 and installing Samba 4.0.1(since 4.0.0 is not available)
all went well will adding users,
I encountered an error while adding a user “Client1”, here’s the response:
ERROR(ldb): Failed to add user ‘Client1’: -objectclass: Cannot add CN=Client1, CN=Users,DC=mydomain,DC=local, parent does not exist.
Did you use a sufficiently complex password for the admin user? If not then I think that error occurs.
Is your domain called ‘mydomain’?