-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error adding network: failed to create bridge "cni0": could not add "cni0": operation not supported #2
Comments
Experiment: I've simplified the samba.sh script for myself by moving the container networking setup to its own on_boot script. I've then tried to set up an alternate container mostly as a test; specifically an iperf3-server per the basic outline at link below (mlabbe/iperf3:latest container used). @jekhokie Result: exactly the same error set. Conclusion: it seems something changed or broke in UDM-PRO software since all these tutorials were originally published. Again, I am not even slightly a podman or CNI (or UDM shell environment) expert (but am ramping up a little now), so don't really know where to look to try to fix things, but it seems it's something in the UDM-PRO CNI base setup. Any guidance would be helpful. |
Made progress and I am now able to connect. It seems samba.sh (and @jekhokie's iperf3-server instructions per above) as it currently stands has an assumed undocumented dependency on something in the boot environment executing a Also learned that UniFi OS UDM Pro 1.11.0.3921 doesn't play well with podman 3.3.0, so it's best to leave it at stock (ancient 1.6.x) until things get figured out. Addendum 1: Win 10 requires a reversal of policy rule to allow guest SMB access. See here: https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/guest-access-in-smb2-is-disabled-by-default. Regardless of what it seems to indicate, Win10 Pro DID NOT allow guest access by default (i.e. |
Since @ddominet doesn't own his UDM-Pro anymore, I've created a fork with a cleaned up script, user authentication and updated documentation: thealpa/UDMPRO-samba |
Awesome setup, much cleaner, thank you! Going just a little more advanced in terms of user management ... While Of course one can setup users inside the container using An example or two for above issues would be helpful to many. |
Storing passwords as a hash won't work since dperson/samba doesn't accept anything other than plain text. Considering the container hasn't been updated in a while, it might be worth considering switching to a different one anyways. For now it's certainly an option to store username(s) and password(s) in a config file separate from the script, maybe along with additional configuration options. Feel free to open an issue here with any options that you'd like to see. |
After fixing the script to use 'podman ps -a" (rather than the syntax error of '-all'), I am now getting the following podman error:
Not a podman or cni expert here. Any thoughts?
The text was updated successfully, but these errors were encountered: