[Samba] Some questions

Rowland Penny rowlandpenny241155 at gmail.com
Sun Aug 23 17:26:23 UTC 2015

On 23/08/15 17:10, Robert Moskowitz wrote:
> After years of delays and side trips, I really am going to dive in and 
> build my own Samba server.  And I have a few questions.
> All of my servers will be ARM.  The main hardware will be Cubieboards 
> (2 and truck).  They will be running Centos-7 once the development is 
> finished.  For now I am using Fedora 22 arm.  My backup file server 
> will be a pogoplug (armv5) with Redsleeve 7.1.
> My current environment is ClearOS with a handful of XP systems with 
> roaming profiles.  Of course this is an Intel server.
> So on to some questions...
> I am reading an old how to I pulled a year?  ago:
> WIP_Beginner HowTo - SOHO business server - SambaWiki.html
> And it says IPv6 not supported.  Well time has flown, and I really 
> want IPv6 support.  Can I ignore the turning off of IPv6 as 
> instructed?  Oh, samba versions in the repos are:
> Fedora 22 arm:                     4.2.2-1
> Redsleeve 7.1:                      4.1.12-23
> Centos 7.1 arm pre-alpha:    4.1.12-21
> So since I don't want to run a Fedora samba server for production, I 
> should stay with 4.1 functionality.
> With the cost of Cubieboards, I will have one for the domain 
> controller and at least one for files (plus the pogoplug for backup 
> server).
> So on with the meat of things.
> I can use tools on the Fedora 22 build to do an initial build and then 
> copy them to the Centos/Redsleeve builds (which will not have a GUI 
> desktop).  With Fedora I am using Xfce (this IS arm afterall).
> Is there a more recent set of instructions with such things as IPv6 
> support?
> Should I go with the rpm distributions or sernet?  Will sernet build 
> on armv7 and armv5?

You could have a problem here, I don't know if you have noticed, but 
there are no distro packages for RHEL (and clones) for a samba4 DC, 
never mind ARM. There is a reason for this, Samba use Heimdal kerberos 
and RHEL uses MIT, you probably can build samba 4 yourself but I don't 
think you can get the exact sources to build the Sernet packages.

I know nothing about the  Cubieboard but I presume it is somewhat 
similar to the rpi and I do know you can run a samba4 DC on that, but 
all the howtos seem to want you to use raspbian, a debian offshoot, are 
you totally fixed on using fedora?

> My domain is htt-consult.com, and it is really no problem to create a 
> subdomain of home.htt-consult.com.  But I would really like to run my 
> domain as home.htt as I do with ClearOS right now and I did some time 
> back with Amahi.  Other than setting up the TLD of .htt (which I have 
> done), is there anything of note?

It is recommended that your TLD is not resolvable from the internet, 
after that it is up to you, with just one caveat, don't use a .local domain.

> What is the opinion on BIND/DHCPD vs DNSMASQ?  I have lots of 
> experience with BIND and can get around DHCPD.  For DNSMASQ, I would 
> have to copy something else (like the conf from my current server).

The best thing you could do with DNSMASQ is 'yum remove dnsmasq' if it 
is installed. Samba4 running as a DC comes with its own DNS server, you 
can use this or Bind9. If you want to use DHCP, then I would recommend 
using Bind, they work very well together, provided they are set up 


> Initially there will only be XP systems with roaming profiles.  I will 
> be adding Windows7, which I really do not have any experience with to 
> know if anything list roaming profiles exist by that or any other name.
> Thank you for your time.

More information about the samba mailing list