This is another attempt to solve the same problem as in the previous patch set. Instead of setting an environment variable, I simply let the map program run under the ID of the user requesting the mount. This seems more elegant amd might even have a security advantage over the current method. I haven't seen any regressions with this approach on my systems. Martin [PATCH 1/3] modules/lookup_program.c: Use seuid(USER) for map program [PATCH 2/3] samples/auto.smb: add logic to obtain credentials -- To unsubscribe from this list: send the line "unsubscribe autofs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html