From a57d089eb205a4750342b640202980ec772d7090 Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Mon, 30 Dec 2024 09:33:33 -0600 Subject: [PATCH] Forcibly disable spotlight-related RPC servers (#15274) This configuration was lost when removing clustering-related registry configuration in Electric Eel. --- src/middlewared/middlewared/plugins/smb_/util_smbconf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/middlewared/middlewared/plugins/smb_/util_smbconf.py b/src/middlewared/middlewared/plugins/smb_/util_smbconf.py index d000c36008936..2dd7812e11769 100644 --- a/src/middlewared/middlewared/plugins/smb_/util_smbconf.py +++ b/src/middlewared/middlewared/plugins/smb_/util_smbconf.py @@ -358,6 +358,8 @@ def generate_smb_conf_dict( 'bind interfaces only': True, 'fruit:nfs_aces': False, 'fruit:zero_file_id': False, + 'rpc_daemon:mdssd': 'disabled', + 'rpc_server:mdssvc': 'disabled', 'restrict anonymous': 0 if guest_enabled else 2, 'winbind request timeout': 60 if ds_type is DSType.AD else 2, 'passdb backend': f'tdbsam:{SMBPath.PASSDB_DIR.value[0]}/passdb.tdb',