Skip to content

smbd: In conn_force_tdis_done() when forcing a connection closed force a full reload of services.

Corner case, but when connections to registry shares are being force closed with smbcontrol after deletion we need to do a full reload of services after each close to avoid reload_services() caching the fact it's just been called (we need to act just like receiving a SIGHUP here).

Note this code is not used in the normal connection close path.

Fixes bug: https://bugzilla.samba.org/show_bug.cgi?id=14604.

Passes ci.

Edited by Jeremy Allison

Merge request reports