Thanks for looking at this. Only on the latest release, Ubuntu 26.10
with samba 4.24.7. I enabled `options=dynamic` on 2026-11-14, after
upgrading to 26.10, and smbd stopped accepting connections the next
morning, so I never ran this setting on an earlier release.

I don't think it is Ubuntu-specific: Samba master (read 2026-11-15) has
the same code path. `smbd_addr_changed()` calls `smbd_open_one_socket()`
on every dynamic address add without checking `parent->sockets` for an
existing listener on that address.

Unfortunately I can't file this upstream myself: Samba's Bugzilla only
creates accounts on request by email, and that is more than I can take
on for this. I'm happy to keep providing details and testing here,
though. If the server team is able to forward it, that would be much
appreciated.

(Drafted with AI assistance and reviewed by me.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174553

Title:
  interfaces “<if>;options=dynamic”: smbd opens a new listening socket
  on every IPv6 router advertisement until it runs out of file
  descriptors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/2174553/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to