View Full Version : Ubuntu as PDC (Primary Domain Controller)

23-08-2008, 02:42 PM
Hi guys,

for an assignment at uni, we have to create a domain controller to show connectivity between a client and server. Many of the lads/lass at uni have turned their heads to microsoft to use windows 2003 with AD/DC and what not, but i thought surely the opensource world has a way of doing this.

And they do. But what happens is that I get errors after errors. following many guides and they all fail.

IS there someone here who knows, or has experience with creating such a domain controller in ubuntu since thats the linux flavour i've decided to use.


Speedy Gonzales
23-08-2008, 02:49 PM
You mean this ? (http://www.howtoforge.com/samba_setup_ubuntu_5.10)

Or this ? (http://www.howtoforge.com/openldap-samba-domain-controller-ubuntu7.10)

23-08-2008, 02:51 PM
tried both. I can detect the domain after all the steps, but then i cant actually login to it. for some reason it fails. Which is why i've come here in the hopes that someone who has done it before can guide me through it because frankly that tutorial hates me.

hell i even tried SME server and that worked. Xcept once i created more users, i was not able to use these newly-created users to login to the domain. Don't know why. I browsed everywhere on the web based control panel but nothing worked.

even did smbpasswd -l <username> to setup a password for it in samba, and it still didn't work.

23-08-2008, 08:59 PM

24-08-2008, 01:24 PM
If I remember correctly, passwords for this system should be stored in LDAP, not in samba's password files. Take a look at the directory tree with an LDAP browser - phpldapadmin is probably going to be the easiest solution for you.