Comments (6)
Great, yes that worked. For some reason it did not show up in Ventura 13.1 but after updating to 13.3 it worked as you described.
Documenting this could be helpful.
Thank you for your swift responses!
from samba.
added docu
from samba.
thanks for raising the issue - .local
is the default domain extension for zeroconf (avahi is a zeroconf implementation)
https://en.wikipedia.org/wiki/Zero-configuration_networking#DNS-based_service_discovery
but maybe there still is a bug and I need to transform a FQDN into a HOSTNAME
is there a way this issue is visible in reality? or is it just a strange/broken avahi config?
Note that AVAHI_NAME
is supposed to be a hostname, not a FQDN
do you have an (maybe anonymized, reducted) example config and error message
from samba.
Understood regarding .local and zeroconf, I did indeed fill out a FQDN for AVAHI_NAME and this resulted in FQDN.local being broadcasted by avahi.
As I use FQDN inside the local network I am trying to get Avahi to broadcast the FQDN for time machine backups so that these backups will work from everywhere in my network.
Do you know of a way to get Avahi in your main docker image to broadcast an FQDN? I suppose this is an edge case, but for the sake of simplicity I rather not use an external Avahi server.
According to this blog entry: https://www.technomancer.com/archives/633 this should be possible.
from samba.
ahh I get what you want to do, and I also had this problem, but there is a nice way around this.
usually your mac displays your avahi server in finder, you can click on it, and configure it as timemachine backup storage - this will lead to the .local
address which is being used.
but in some cases this doesn;t make sense - for example, multiple seperated networks (zeroconf only supports one network) or vpn access.
so even if your mac is able to connect to the server it doesn't know that it's the server which was previously configured using the zeroconf name.
the best way to work around this (I always to this on all my macs) use the finder and connect to server function. here you can use an IP or DNS name to connect to the server. Just establish the connection
now you openup timemachine and configure your timemachine to use the server you just configured. so the one with the FQDN or IP.
it should even detect if this server already contains a backup of you machine and continues using it.
after you configured it this way, timemachine will check if the machine is availbale and start it's backup process, even if you're connected to the server via vpn etc.
hope this helps :)
summary, I think you don't want zeroconf at all at your scenario - so make an explicit configuration for your network setup :)
zeroconf is simple and for everyday consumers without special needs regarding their networks :)
let me now if this helps, I should document this in my repo - might be helpful
from samba.
TODO for @MarvAmBass -> document this
I'll close it as soon as this is done :) so I won't forget
from samba.
Related Issues (20)
- Clients can see Samba server, but are unable to see/browse/connect to shares HOT 22
- 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
- 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
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.