build files for making podman containers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

498 B

add users

log in to the container:

pdm-shell samba

for each user you want to be able to connect to Samba, run

smbadduser ${username:?}

configure reverse proxy

haproxy

in /etc/haproxy/haproxy.cfg:

listen samba
        bind :445 interface eno1
        mode tcp
        server smb-1 127.0.0.1:9045

client

to mount a Samba share, put in your fstab something like this:

//medusa/media /net/media cifs noauto,user,rw,username=mar,file_mode=0644 0 0