Problem:
Error when submitting a job as an LDAP user:
Bad UID for job execution MSG=ruserok failed
Solution:
Customer was using Centrify for authentication and UID mapping for linux accounts. It turns out the cache was stale and after performing an 'adflush' everything started working again.