-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
298 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
...posts_de/2023/2023-11-28-ein-funktionierendes-netatalk-setup-unter-debian-12.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
author: Tim Bernhard | ||
categories: | ||
cover_image: false | ||
canonical_url: https://www.genieblog.ch/blog/de/2023/ein-funktionierendes-netatalk-setup-unter-debian-12 | ||
date: 2023-11-28 07:12:24 | ||
description: false | ||
draft: false | ||
extends: _layouts.post | ||
language: de | ||
layout: post | ||
slug: ein-funktionierendes-netatalk-setup-unter-debian-12 | ||
social_image: false | ||
template: post | ||
title: "Ein funktionierendes Netatalk-Setup unter Debian 12" | ||
translations: | ||
en: a-working-netatalk-setup-on-debian-12 | ||
de: ein-funktionierendes-netatalk-setup-unter-debian-12 | ||
--- | ||
|
||
Dies ist ein weiterer der "Notizen für mein zukünftiges Ich"-Posts. | ||
|
||
Dieses Wochenende habe ich (abgesehen vom Backen von Weihnachtsplätzchen) Zeit investiert, um meinen Backup-Server von Samba auf Netatalk zu migrieren. Ich hatte besondere Probleme mit der Einrichtung der Konfiguration, so dass die Anmeldung vom Mac aus funktionierte. | ||
|
||
Am Ende habe ich die folgenden zwei Schlüsselzutaten gefunden: | ||
|
||
* Installieren Sie eine (unter Debian) Testversion von libcrypt: `sudo apt-get install libgcrypt20-dev/testing` (Stellen Sie sicher, dass die Test-Repositories zu apt hinzugefügt wurden) | ||
* Verwenden Sie eine funktionierende Konfiguration (`/etc/netatalk/afp.conf`): | ||
|
||
``` | ||
; | ||
; Netatalk 3.x configuration file | ||
; | ||
[Global] | ||
; Global server settings | ||
log level = default:warn | ||
log file = /var/log/afpd.log | ||
uam list = uams_passwd.so,uams_dhx_passwd.so,uams_dhx2_passwd.so | ||
;,uams_guest.so | ||
; guest account = tim | ||
; [Homes] | ||
; basedir regex = /xxxx | ||
; [My AFP Volume] | ||
; path = /path/to/volume | ||
[MacMini Time Machine Volume] | ||
path = /home/myuser/backup/netatalk-time-machine | ||
time machine = yes | ||
vol size limit = 2500000 | ||
valid users = myuser | ||
``` |
56 changes: 56 additions & 0 deletions
56
source/_posts_en/2023/2023-11-28-a-working-netatalk-setup-on-debian-12.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
author: Tim Bernhard | ||
categories: | ||
cover_image: false | ||
canonical_url: https://www.genieblog.ch/blog/en/2023/a-working-netatalk-setup-on-debian-12 | ||
date: 2023-11-28 07:12:24 | ||
description: false | ||
draft: false | ||
extends: _layouts.post | ||
language: en | ||
layout: post | ||
slug: a-working-netatalk-setup-on-debian-12 | ||
social_image: false | ||
template: post | ||
title: "A working Netatalk Setup on Debian 12" | ||
translations: | ||
en: a-working-netatalk-setup-on-debian-12 | ||
de: ein-funktionierendes-netatalk-setup-unter-debian-12 | ||
--- | ||
|
||
This is one more of the "notes for my future self" posts. | ||
|
||
This weekend, I invested time (apart from baking christmas cookies) to migrate my backup server away from Samba to Netatalk. I had particular problems with the setup of the configuration such that the login would work from the Mac. | ||
|
||
In the end, I found the following two key incredients: | ||
|
||
- Install a (on Debian) testing version of libcrypt: `sudo apt-get install libgcrypt20-dev/testing` (make sure to have the testing repositories added to apt) | ||
- Use a working configuration (`/etc/netatalk/afp.conf`): | ||
|
||
``` | ||
; | ||
; Netatalk 3.x configuration file | ||
; | ||
[Global] | ||
; Global server settings | ||
log level = default:warn | ||
log file = /var/log/afpd.log | ||
uam list = uams_passwd.so,uams_dhx_passwd.so,uams_dhx2_passwd.so | ||
;,uams_guest.so | ||
; guest account = tim | ||
; [Homes] | ||
; basedir regex = /xxxx | ||
; [My AFP Volume] | ||
; path = /path/to/volume | ||
[MacMini Time Machine Volume] | ||
path = /home/myuser/backup/netatalk-time-machine | ||
time machine = yes | ||
vol size limit = 2500000 | ||
valid users = myuser | ||
``` | ||
|
Oops, something went wrong.