Bug 268271 - net/samba416: host allow by name does not work for printer shares
Summary: net/samba416: host allow by name does not work for printer shares
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Timur I. Bakeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-09 13:10 UTC by Meyser+bugs.freebsd.org
Modified: 2022-12-09 13:19 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (timur)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.