Comment 31 for bug 40189

post #25 did not seem to work for me (10.10).

In my case , NFS entries I need to mount are stored in a NIS server.
as a fix I've created the following file :
--
###/etc/init/waitnis.conf
description "Wait for NIS"
author "moi"
start on starting autofs
task

script
        while [ ! $(pgrep ypbind) ] ; do
        sleep 5
        done;
        sleep 5
end script
--

something similar can probably be created to check ldap/... before starting autofs