1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00
David Disseldorp f4cad8b2bc smbd: check lp_load_printers before reload via NetShareEnum
api_RNetShareEnum() unconditionally attempts to reload printers via
delete_and_reload_printers(). Add a lp_load_printers() check to
obey smb.conf "load printers = off" settings.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14895

Reported-by: Nate Stuyvesant <nstuyvesant@gmail.com>
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Nov  8 13:27:40 UTC 2021 on sn-devel-184
2021-11-08 13:27:40 +00:00
..
2021-11-03 17:33:00 +00:00
2020-12-16 09:08:30 +00:00
2020-12-16 09:08:30 +00:00
2020-11-04 18:55:39 +00:00
2020-12-16 09:08:30 +00:00
2020-01-13 21:09:01 +00:00
2021-10-08 19:28:31 +00:00
2021-09-06 13:26:35 +00:00
2021-04-19 18:18:31 +00:00
2021-04-22 17:57:30 +00:00
2021-03-31 06:13:39 +00:00
2020-12-16 09:08:30 +00:00
2021-09-11 21:48:01 +00:00