- Joined
- Mar 6, 2014
- Messages
- 9,553
I will flesh this out as I have time. I have TM over SMB working in a samba jail on my FreeNAS server
Step 1: Create Jail
Step 2: Pkg update in jail
Step 3: Portsnap fetch and extract
Step 4: Add storage to jail under /srv/TimeMachine
Step 5: Copy samba patches to /usr/ports/net/samba46/files
-
-
-
Step 6: Compile samba from ports with avahi support
Step 7: Copy config files (avahi and samba) to jail
Step 8: Create samba user
- adduser smb_user
- pdbedit -a smb_user
Step 9: Enable avahi and samba in /etc/rc.conf
Step 10: Start samba and configure Time Machine on the Mac
Step 1: Create Jail
Step 2: Pkg update in jail
Step 3: Portsnap fetch and extract
Step 4: Add storage to jail under /srv/TimeMachine
Step 5: Copy samba patches to /usr/ports/net/samba46/files
-
patch-libcli__smb__smb2_create_ctx.h
-
patch-source3__modules__vfs_fruit.c
-
patch-source3__smbd__avahi_register.c
Step 6: Compile samba from ports with avahi support
cd /usr/ports/net/samba46
make install clean
Step 7: Copy config files (avahi and samba) to jail
Code:
/usr/local/etc/smb4.conf /usr/local/etc/avahi/services/samba.service.app
Step 8: Create samba user
- adduser smb_user
- pdbedit -a smb_user
Step 9: Enable avahi and samba in /etc/rc.conf
Code:
dbus_enable="YES" avahi_daemon_enable="YES" avahi_dnsconfd_enable="YES" samba_server_enable="YES"
Step 10: Start samba and configure Time Machine on the Mac
Attachments
Last edited: