Let me share this a bit, remember that power is not everything even in Naruto’s World, intelligences would conquered power.
We’ve seen several time of Shikamaru’s fight and logically we will said that shikamaru was out of power from his opponent, for example when he face Temari with her powerful wind blast using her fan during that time people would say that shikamaru would lost, but one way or another shikamaru came out with something tactical to defeat his opponent.
The second fight when Shikamaru face Tayuya (Preshippuuden) we all know that Tayuya had also CM and she must active her 2nd level CM to unleash from Shikamaru Shadow Neck Bind and we also know that Tayuya have cast Shikamaru into a Genjutsu and once again by that time we will concluded that shikamaru wouldn’t bear against Tayuya, but the fact is Shikamaru once against break that theory and came up with something an effective strategies to defeat his opponent
Then the fight which we all familiar when Shikamaru against Hidan= Powerful, Immortality, Brute, and smart also (but not too smart) he (Hidan) managed to catch Ni Yugito the 2 tails jinchuuriki and he also could defeat the famous Chiryoku, but like Mugi said Shikamaru would came out with some strategy to defeat Hidan even though needs 2 days and in strange way to do it.
So… you may get your own conclusion with that fact, Could shikamaru defeat Kimimaro… if Shikamaru only rely on his Shadow tech I will say no he can’t defeat Kimimaro, but we all know that Shikamaru ability (or all the Nara’s ability) not only manipulate their shadow but they (the Nara’s) also known with their great intelligences, good at tactics and strategy, he would came out with some weird strategy and tactics to defeat Kimimaro.
PS : Look on shikaku role at the 4th great war