dperson / samba

Samba docker container
GNU Affero General Public License v3.0
1.54k stars 516 forks source link

How to reach SAMBA log file from host? #329

Open kpeter477 opened 4 years ago

kpeter477 commented 4 years ago

I need to enable fail2ban on samba, but I cannot reach the log. I mounted /data/log:/var/log/samba, I can see the smbd or something like this from the host, but folders are empty. I login successfully, make files, stop container, but log is empty. Is it a bad path for log?

TotallyAProgrammer commented 4 years ago

Is that directory set to read only in the docker configuration?