Matthew's picture

Hi, completely new to linux, only achieved anything by following tutorials so please be gentle.

I have installed Ubuntu 12.04LTS and Samba4 v4.2 with great success, I now have a working AD domain controller. However I just need to understand the reasoning and possible implications of why the installation directory seems to have moved from previous versions.

From virtually every tutorial relatingto samba4 the smb.conf file resides at /etc/samba/. However on my installation it resides at /usr/local/samba/etc/

Now this hasn't been an issue until I tried to install openchange (big mistake as it completely breaks samba or at least my version) Luckily having achieved a working AD I cloned my disk as I suspected nothing could be as easy as following a tutorial.

So if anybody knows, why did they move things, is there anyway to alter this (possibly if anyone knows what version I can install that will be compatible with openchange (version 4.0 ish seems to be what most of the tutorials seem to want) and if I install an older version how do I stop it updating to newer versions with apt-get update/upgrade.

Being honest the tutorial I followed to get Samba working is about the only 1 that did get it working, so I'm a little wary of starting from scratch again.

Jeremy Davis's picture

Hi Matthew :)

TurnKey Linux is based on Debian so it's close, but not quite the same... And I have had nothing but a very minimal play with Samba4 so couldn't really give too much guidance anyway... Besides, it would be hard to even begin to help you without more info. I don't mean to be harsh or rude, just stating it how I see it...

My suggestion would be to:

A) Try contacting the author of the tutorial (comments section?) you followed, or post in a more relevant place (e.g. the Ubuntu forums or the Ask Ubuntu Q&A site).


B) start with a clean install (I would suggest a virtual machine) and follow a complete tutorial that covers everything you want to install (I googled and found a few that covered installing Samba4 and Openchange).

Jeremy Davis's picture

If you are using TurnKey, please start your own thread.

If you aren't using TurnKey, then please post somewhere else more appropriate, like the support forums of your distro, etc.

Add new comment