Small fix

Function to resolve SID from DN called an illegal SP