Autodir uses the autofs kernel module for its operation. The kernel module autofs must be loaded before starting autodir.
autofs
This can be done as the root user, using the modprobe command as follows:
# modprobe autofs