When using the Directory Services Command Line MAC OS tool you receive the following error message
ls: DS error: eUndefinedError
<dscl_cmd> DS Error: -14987 (eUndfinedError )
This issue is usually caused by discrepancies between the time on the Active Directory Domain Controller servers and the MAC OS systems.
- Check the time is correct on all Domain Controllers
- Check the time is correct on the MAC OS system
- Attempt to rebind the MAC OS system to the Active Directory domain.