Index: rpc_server/srv_samr_nt.c =================================================================== --- rpc_server/srv_samr_nt.c (revision 5163) +++ rpc_server/srv_samr_nt.c (working copy) @@ -2259,7 +2367,7 @@ pw = Get_Pwnam(account); /* determine which user right we need to check based on the acb_info */ - if ( acb_info == ACB_WSTRUST ) { + if ( acb_info == ACB_WSTRUST || acb_info == ACB_SVRTRUST ) { se_priv_copy( &se_rights, &se_machine_account ); pstrcpy(add_script, lp_addmachine_script()); }