[Samba] samba ad-dc member as print server for vlans

Adam Thorn alt36 at cam.ac.uk
Wed Aug 19 17:17:35 UTC 2026


On 19/08/2026 13:29, Rowland Penny via samba wrote:

> On Tue, 18 Aug 2026 08:52:56 -0300
> "Douglas G. Oechsler via samba" <samba at lists.samba.org> wrote:

>>
>> 1- I can search for a printer with windows 10 only in the Vlan that
>> debian 13 was installed and configured. Not automatically, manually
>> only, but ok, clicking on the printer, windows 10 can install printer
>> a on the system. Windows 11 can search and install too, only manually.
>> 2 - I can not search the printer in another vlan that is different
>> from how debian 13 was configured.
> 
> I think you are stuck with installing the printers manually, I do not
> think printer discovery works across vlans. 

I suspect the issue Douglas is facing is that printer discovery via 
mdns/bonjour works by adverts from printers being sent to layer 2 
multicast (NB Douglas: it's helpful to keep the concepts of a layer 2 
VLAN and a layer 3 subnet separate, even though you may in practice have 
a 1-to-1 mapping of subnets to VLANs). And by design multicast/broadcast 
traffic is segmented within a VLAN.

If you can arrange for a server that has an interface in every vlan, you 
can then install avahi and run it as a reflector to rebreadcast the mdns 
adverts it receives into all of the VLANs. I think a minimal config is just:

[reflector]
enable-reflector=yes
# possibly reflect-filters= to restrict what kind of mdns packets to reflect



Adam



More information about the samba mailing list