Forcing a reload of the smb.conf option values means the pointer learned
in vfs_recycle_connect() become stale.
This will be reverted at the end of the patset again.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15659
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Noel Power <noel.power@suse.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
--- /dev/null
+^samba3.blackbox.recycle.recycle.fileserver
+^samba3.blackbox.recycle.check_panic.fileserver
int rc = -1;
struct recycle_config_data *config;
+ reload_services(NULL, NULL, false);
+
SMB_VFS_HANDLE_GET_DATA(handle,
config,
struct recycle_config_data,