Is there some sorts of Krull's theorem (that every ring has maximal ideal) for rings that do not have multiplicative identity (unit)? So I know that non-unital rings do not satisfy Krull's theorem, but for some types of non-unital rings, theorem does get satisfied. So what is it?
Edit: Wikipedia seems to mention the case with regular ideal, but does not explain it.
As you noted, there is no version of Krull's theorem that asserts the existence of maximal ideals in all rngs. The best you can hope for is truth in certain subclasses of rngs. One obvious example is if you ask for the maximal condition on right/left or two-sided ideals.
Here's the result that Wikipedia is referring to in Jacobson's Structure of rings page 6.
Of course, we've got no guarantee a proper modular right ideal exists in a given rng. Not even $\{0\}$ is guaranteed to be modular. In fact, $\{0\}$ being a modular right and left ideal is exactly saying that the ring has an identity.