Any history of drug use is potentially disqualifying for the military. You will probably need a waiver if the test comes back positive. If you can convince the military that you have no history of dependency, and if you can get a waiver for the "history of drug use," you may still be accepted. Wait ...