Not able to authenticate Windows and MAC client