Importing 200 printers from cups to samba takes lots of time. In the meantime if you try to do a smbclient connection it end with "protocol negotiation failed: NT_STATUS_IO_TIMEOUT" 1) add 200 printers using lpadmin 2) wait for printcap cache to expire 3) try to list the new printers using e.g. smbclient -L
Created attachment 7971 [details] v3-6-test patch
Created attachment 7972 [details] v4-0-test patch
Thanks for working on this Andreas, the changes look good. It should also be possible to move the other remaining SIGHUP / MSG_SMB_CONF_UPDATED handler pcap_cache_reload() calls out of smbd and into the background printer process. Patch to follow...
Comment on attachment 7972 [details] v4-0-test patch Patch has a bug. Fix will follow soon.
Created attachment 7974 [details] v4-0-test patch
Comment on attachment 7971 [details] v3-6-test patch Looks good to me. Jeremy.
Comment on attachment 7974 [details] v4-0-test patch Looks good to me.
Re-assigning to Karolin for inclusion in 4.0.0rc2 and 3.6.next. Jeremy.
Pushed to autobuild-v4-0-test and v3-6-test. Closing out bug report. Thanks!