-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
latest ARMHF image broke SMB for my older clients. #268
Comments
Any idea why the latest version is now broken? Same thing happened to me. I get "unsupported platform" now, on the same hardware, and can't reference the previous version since it's not version tagged. |
I went back and compared my smb.conf to the changes here and I think mine was generated around this commit abb29e0 . I added a couple global options to my dockerfile to change security settings back to how I had them setup, versus the new defaults.
But no luck. My old client just hangs on connecting to the server. I did a little more checking and noticed /etc/samba/smb.conf in the container did not get updated when I ran the latest image. I confirmed this be noticing new default values are not included. And I changed my global options to different values and that was not reflected in smb.conf either. |
I think I have the same issue. |
I have similar issues with sonos not being able to connect anymore. Running smbclient in the container gives the following
I have If I start with the following custom global, it works
|
@wdullaer I do the same but I still get an error message
Any idea why? |
it works with :
|
@Hugues-Antoine |
Problable a stupid question, but how do I pass the variable in a docker-compose file |
Okay, I think sambas default for the minimum protocol changed. Now instead of defining the minimum for |
I would update clients, but I have some hardware devices that will never get updates. |
Now sonos is not working again. Do I have to use another global variable now? |
I think I'm running into the same problem. I think I pulled down a newer container, and have in my smb.conf:
I am trying to interoperate with a Supermicro Baseboard Management Controller (BMC) which has an embedded SMB implementation, and now cannot mount shares. How do I set the minimum protocol to something earlier? I'm passing these args to the container:
|
I saw this in /usr/bin/samba.sh:
but when I tried to run this manually:
I got:
I tested this: #290 and it seems to fix it. |
I'd happily disabled SMB1, but this is the only protocol sonos supports for a local collection. For reference, here is an example docker-compose file that works for me: version: "3.7"
services:
samba:
image: dperson/samba
restart: unless-stopped
network_mode: host
volumes:
- "/mnt/data:/mount"
environment:
WORKGROUP: WORKGROUP
SHARE: "share;/mount;yes;no"
NMBD: 1
GLOBAL: "client min protocol = NT1"
logging:
driver: "json-file"
options:
max-size: "10M"
max-file: "2" |
Thanks @rodrigc! I fat fingered that. It should be fixed now. |
@dperson Thanks! Your container is very handy. I have it running inside a Kubernetes pod, and use it to serve ISO images via smb which can be mounted from the BMC of Supermicro and Dell machines. When I could not mount these ISO's any more, it is hard to debug, because these hardware platforms have embedded SMB implementations and don't provide good logs. |
tried your settings, still can't get sonos to connect unfortunately.
|
finally got it working for sonos:
|
to get my canon maxify mb5150 working I need two adjustments First: "server min prototcol" instead of "client min protocol" (as written in the last link of RezzZ )
Second:
Question:
|
This does not work for me. I've set everything I could:
My resulting smb.conf looks like this:
But running smbclient with NT1 leads to this error:
|
When I updated to latest armhf my older clients could no longer connect. Some are SMB clients in hardware video clients.
Luckily I was able to roll back to the local image still in my container cache. But there is no current way to pull older images from docker hub.
Please add version/release tags to the images hosted on docker hub. This will allow pinning at older versions if anything breaks in newer versions.
Thanks for all your work.
The text was updated successfully, but these errors were encountered: