By an ideal conductor, I mean one with zero resistance.
The question is not about a superconductor. As I know superconductor and conductor with zero resistance are not the same thing. The question is more about what happens to magnetic field inside a wire when its resistance approaches null.