I would like to set up samba fileserver to replace netatalk for my Freebsd Server to be used as a general file server for my home network and as a TimeMachine disk for some of my Macs. I only have Macs and Freebsd on my network and as I am upgrading to Freebsd 13 from 12 I thought it would be a good time to do a migration to samba as Netatalk is pretty much deprecated by Apple, I read the performance is also better with Samba now that they have the fruit extensions.
For the Time Machine aspect I am trying to do what is described in the following tutorials, but that is outside the scope of this questions me thinks.
--- Yes I am aware the tutorial is for Ubuntu but I am competent enough to make this work with FreeBSD
My one question is if this is going to be only used as a simple fileserver do I need to enable the Active directory options in Samba or can I disable all of them? Will there be any negative impacts?
The options I would like to set to "NO" are ADS and AD_DC
For the Time Machine aspect I am trying to do what is described in the following tutorials, but that is outside the scope of this questions me thinks.
--- Yes I am aware the tutorial is for Ubuntu but I am competent enough to make this work with FreeBSD
Setup Apple Time Machine network drive with Samba on Ubuntu 22.04
During christmas vacations I added a Time Machine network drive for the backup of my MacBook to my Ubuntu 22.04 based home server. For this you will need samba and avahi-daemon packages. Basically Samba shares the network drive and avahi makes it work with apple devices by implementing Apple’s...
blog.jhnr.ch
Configure Samba to Work Better with Mac OS X - SambaWiki
wiki.samba.org
My one question is if this is going to be only used as a simple fileserver do I need to enable the Active directory options in Samba or can I disable all of them? Will there be any negative impacts?
The options I would like to set to "NO" are ADS and AD_DC
Code:
===> The following configuration options are available for samba416-4.16.10_1:
ADS=on: Active Directory client(implies LDAP)
AD_DC=on: Active Directory Domain Controller(implies PYTHON3)
CLUSTER=off: Clustering support
CUPS=off: CUPS printing system support
DOCS=on: Build and/or install documentation
FAM=on: File Alteration Monitor
GPGME=off: GpgME support
LDAP=on: LDAP client
MANDOC=off: Build manpages from DOCBOOK templates
PROFILE=on: Profiling data
PYTHON3=on: Python 3.x bindings or support
QUOTAS=on: Disk quota support
SPOTLIGHT=off: Spotlight server-side search support
SYSLOG=on: Syslog logging support
UTMP=on: UTMP accounting
====> VFS modules
FRUIT=on: MacOSX and TimeMachine support
GLUSTERFS=off: GlusterFS support
====> GSSAPI Security API support: you have to select exactly one of them
GSSAPI_BUILTIN=on: GSSAPI support via bundled Heimdal
GSSAPI_MIT=off: GSSAPI support via security/krb5
====> Zero configuration networking: you have to select exactly one of them
ZEROCONF_NONE=off: Zeroconf support is absent
AVAHI=on: Zeroconf support via Avahi
MDNSRESPONDER=off: Zeroconf support via mDNSResponder