netatalk icon indicating copy to clipboard operation
netatalk copied to clipboard

Reimplement afp.conf include directive

Open rdmark opened this issue 10 months ago • 0 comments

Previously, we relied on a local iniparser hack to realize the include = /path/to/file feature for in-place substitution of this line with an external ini file.

Now when using stock iniparser, another solution is required.

What I want to attempt to do is:

Introduce pre-processing of afp.conf that reads afp.conf, does a global regex search for include =[.*]\n grabs the path to read, does some validation on the data, injects it into afp.conf, then passes the stream to iniparser.

rdmark avatar Feb 27 '25 06:02 rdmark