Comments (6)
Is Avahi installed on your host? Do you see the samba config on your host? Maybe you just need to restart avahi on your host
You know that you explicitly disabled the container avahi by mounting the avahi volume from the outside.
Please check if anything from above might be the problem
Thanks and have fun with the container
Maybe you can also post the contents of your avahi samba service
from samba.
The interesting thing is, I also need to click twice on my Mac
Sometimes it seems to no connect
But after manual connect it also works via the detected server
Maybe this really is an issue I need to look into - I think I got blind and got used to this workaround
Also sometimes my server icon changes
Do you see your raspberry pi on your network as samba/network share server? Or is it missing completely
You could also check using some zeroconf inspector if and what is announced
from samba.
I think I figured it out now. I removed the mount of the host avahi and removed the file on the pi's /etc/avahi/service/samba.conf
location to make use of the avahi instance from the docker container. Furthermore, I have to have a time machine share to have the "complete" setup.
Here is the samba.service
without timemachine:
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">StorageServer</name>
<service>
<type>_smb._tcp</type>
<port>445</port>
</service>
And here with:
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">StorageServer</name>
<service>
<type>_smb._tcp</type>
<port>445</port>
</service>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=MacPro7,1@ECOLOR=226,226,224</txt-record>
</service>
<service>
<type>_adisk._tcp</type>
<txt-record>sys=waMa=0,adVF=0x100</txt-record>
<txt-record>dk0=adVN=TimeMachine,adVF=0x82</txt-record>
</service>
</service-group>
from samba.
So is everything working as expected? Or did you have to add the samba config manually?
from samba.
Now everything is working as expected, and the samba config is created automatically. However, it seems to generate a correct samba service config only if I have a time machine share configured. Without that, the samba config file is still generated but not working.
from samba.
As far as I know, it doesn't overwrite, so maybe your raspberry pi default samba config is conflicting with my container. there could also be an issue with some kind of avahi version conflict between host and container
from samba.
Related Issues (20)
- Latest tag fails to init user HOT 6
- SAMBA_VOLUME_CONFIG_ should support colons HOT 4
- Why is there a volume created at '/shares'? HOT 1
- create-hash.sh does not appear to output a valid hash when username is not lowercase HOT 15
- Use GitHub Actions to build docker images instead of local builds/ServerContainers HOT 14
- FQDN for Avahi hostname HOT 6
- Could not open tdb: No such file or directory (both account_policy.tdb and registry.tdb) HOT 10
- Avahi fails to start, due to stale pid file. HOT 3
- Better error messages on malformed config HOT 6
- Allow running the samba server not as root HOT 5
- AD Auth HOT 6
- create-hash repository HOT 1
- Username cannot be added HOT 5
- The fruit:advertise_fullsync is not exist in the samba official configuration document HOT 2
- Daily image updates HOT 8
- swarm mode not supported HOT 3
- testparm check ignores SAMBA_GLOBAL_CONFIG_ with spaces HOT 5
- Samba is discoverable by Windows but not discoverable by another Linux machine HOT 10
- How to expose shares with NodePort in Kubernetes HOT 4
- Regular shares get affected by timemachine HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samba.