CHARLOTTE, N.C. — David H. Petraeus, the highest-profile general from the wars in Iraq and Afghanistan, will most likely be sentenced to probation here on Thursday in a leak investigation that embarrassed him and created bitter disputes inside the Justice Department about whether he was receiving too much leniency from Attorney General Eric H. Holder Jr.