Bug 268271

Summary: net/samba416: host allow by name does not work for printer shares
Product: Ports & Packages Reporter: Meyser+bugs.freebsd.org
Component: Individual Port(s)Assignee: Timur I. Bakeyev <timur>
Status: New ---    
Severity: Affects Some People CC: Meyser+bugs.freebsd.org
Priority: --- Flags: bugzilla: maintainer-feedback? (timur)
Version: Latest   
Hardware: Any   
OS: Any   

Description Meyser+bugs.freebsd.org 2022-12-09 13:10:07 UTC

    
Comment 1 Meyser+bugs.freebsd.org 2022-12-09 13:19:12 UTC
In my smb.conf [global] section I have:

hosts allow = localhost mammut eiche
hostname lookups = yes

This worked with samba 4.13 without errors.

After update to samba 4.16 file shares work as before
but shared printers are not accessible any more.

spoolss log says
Denied connection from 10.0.0.69 (10.0.0.69)

If I change smb.conf to

hosts allow = 127.0.0.1 10.0.0.64 10.0.0.69

Printer shares are working again.