- Present error message "Failed to upgrade schema. Check if 'patch' is installed." - Should log this message: "Failed to upgrade schema. Check if package 'patch' is installed. Try running 'yum install patch'" # samba-tool domain schemaupgrade -d 4 lpcfg_load: refreshing parameters from /etc/samba/smb.conf Processing section "[global]" Processing section "[sysvol]" Processing section "[netlogon]" pm_process() returned Yes Temporarily overriding 'dsdb:schema update allowed' setting ERROR: Failed to upgrade schema. Check if 'patch' is installed. File "/usr/lib64/python3.7/site-packages/samba/netcmd/domain.py", line 4231, in run stderr=subprocess.PIPE, cwd=temp_folder) File "/usr/lib64/python3.7/subprocess.py", line 775, in __init__ restore_signals, start_new_session) File "/usr/lib64/python3.7/subprocess.py", line 1522, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) MR: https://gitlab.com/samba-team/samba/merge_requests/758