I have an autofs program that I've been using with autofs (v3). When I
upgraded to autofs v4, it no longer works. I didn't see any documentation on
the differences in key type changes for the new version. Has anyone else
experienced this problem?

My program (simplified) looks like the following:

% cat auto_test
#!/bin/sh

/usr/bin/ypmatch <key> <map>

%

If I add >& to the end of the line to pipe the output to a file, it returns
the proper key format (<machine>:<path>), but when looking at
/var/log/messages, automount complained about "lookup(program): lookup for
<key> failed", but I know that the key exists.

Any help would be appreciated, thanks!
Brian


Reply via email to