Healthcheck fails if encrypted connection is desired
Thanks for creating this nice container.
I've added a GLOBAL: "smb encrypt = desired" line to my compose-file to enable encrypted connections. This works well and the server starts serving encrypted connections.
However, the healthcheck of the container does not return healthy any more once this is set.
An attempt to run the healthcheck on the within the container console yields a segfault of the smbclient.
Running the command smbclient healthcheck command with an added -e parameter works as long as there is a valid user provided. I could not figure out quickly if and what the % sign in the healthcheck command smbclient -L \\localhost -U % -m SMB3 is replaced with.
Do you have any idea how this can be fixed? It might also be worth to add the above GLOBAL stanza to the defaults, as it still is possible to connect without encryption.
You can try to declare the healthcheck configuration in docker-compose.yml to override the default.
Thanks for creating this nice container. I've added a
GLOBAL: "smb encrypt = desired"line to my compose-file to enable encrypted connections. This works well and the server starts serving encrypted connections. However, the healthcheck of the container does not return healthy any more once this is set. An attempt to run the healthcheck on the within the container console yields a segfault of thesmbclient.Running the command
smbclienthealthcheck command with an added-eparameter works as long as there is a valid user provided. I could not figure out quickly if and what the%sign in the healthcheck commandsmbclient -L \\localhost -U % -m SMB3is replaced with.Do you have any idea how this can be fixed? It might also be worth to add the above GLOBAL stanza to the defaults, as it still is possible to connect without encryption.
can you share your docker-compose file?