Okay, I solved this one myself. It was because I was sloppy about the output of my executable map file.. :-)
For anyone experiencing the same problem, I'll recommend to read this before continuing.
It may not be relevant to all versions of autofs, but it certainly is good reading.
http://docs.sun.com/app/docs/doc/806...a8539g7?a=view
To cut it short, I did a PING in the executable file, that messed up the "option server" output that autofs wanted.
So guys, reading the manual sometimes help.
To make it VERY short for all those who don't know what I'm talking about
:
An autofs executable map is supposed to put only two strings (or several pairs) out to std output.
Those are: mount options, and server mount point.
autofs takes care of the local mount point by reading auto.master and the key.
Example output:
-fstype=nfs,rw,hard,intr server.com:/share1
Be sure to pipe all other output from mkdir/ping/etc to /dev/null before exiting (with level 0 on success, 1 on error).
And, remember to check your executable file by calling it with the key name on the command line, to see what it returns. That is what I forgot.
Well, I feel kind of stupid, but at least I've learned something: autofs outputs confusing error messages, even in debug mode.. :-D