Ubuntu home LAN server: Samba DC

Since I posted my configs for the DHCP and DNS servers, here is my Samba domain controller config:

smb.conf

I used an article from HowToForge as the main information resource to set it up. The section about mapping Windows domain groups to Unix groups was easy to understand.

One thing that really differs in my set up and the article is that I don’t have to manually add computer accounts to the server hosts file. Computer accounts are automatically set up when I join a PC to the domain. Also, the Domain Admins group is mapped to the ntadmins Unix group instead of the root group.

The set up is working well so far. When I log on to the domain from my XP laptop, I get the U: drive mapping to the user home directory on the server. The domain groups had to be added to the laptop groups (e.g. Domain Admins in the Local Admins group) manually in order to have the right permissions. I did test it a few times to be verify that the Domain Admins group has full control of the system and Domain Users group has limited control of the system. So far, so good.

Roaming profiles are not being used because they are the bane of networks. I’ve hated them on medium and large networks. I always vowed to never use them, no matter how small the network.

As with the previous configs, if you notice anything that could be improved, let me know in the comments. I’m constantly tweaking the file (improvements mostly) and will upload the latest when necessary.

Before it’s asked: No, I did not compile Samba from source. I used apt-get and installed from the Ubuntu repository. Don’t give me any crap about it either Hawk! :-p

There are no facts, only interpretations. - Friedrich Nietzsche

26.Jan.08 Linux


You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.

3 Responses to “Ubuntu home LAN server: Samba DC”

  1. Rollie Hawk |

    I wouldn’t think of it! I’m certainly not the compiler police. ;) Plus I think it’s safe to say I’ve hurt enough people this week. :(

    The Samba default settings have gotten a little more inclusive of things that Windows users will want like (IIRC) DFS, AD, NT ACLs, etc.

    I’m not the biggest fan of roaming profiles either. BUT… it’s either that or get a call to “fix Outlook” every time someone changes desks. :) Other than that, just having a home directory to save in is a happy medium.

  2. wyckedone |

    it’s either that or get a call to “fix Outlook” every time someone changes desks.
    Webmail is your friend. :)

  3. Rollie Hawk |

    I agree but I can’t get anyone to freaking use it. Works even when the roaming profiles get corrupted! ;)

Leave a Reply