r24833: Move locator to nsswitch (does not belong to libads anymore).