autofs IS LYING! executable map doesnt work
Hi, I tried a few times, but it still doesn't work. I REALIZED autofs man is lying, and according to this webpage:
http://docstore.mik.ua/orelly/networ...fs/ch09_05.htm http://forums.fedoraforum.org/showthread.php?t=240811 executable maps should work perfectly: Code:
#!/bin/bash Where as: Code:
#!/bin/bash Code:
root:# /etc/auto.cifs NAS Here is the auto.master file: Code:
# Thanks, Ted |
Hi ted_chou12!
In a different thread concerning autofs on linuxquestions.org I illustrated an executable map that's actually working on my system. Naturally, the implementation of autofs that you are using might work differently. The thread focused on other issues which don't seem to be things with which you are having problems. But you can look at how I set up the master map, and the executable map that actually worked on my system. Maybe that can help you. Here's a link to the particular message where I included the master map and an associated executable map that worked for me. The link should take you to message # 9 in that thread. http://www.linuxquestions.org/questi...8/#post4720287 HTH. |
Thanks kakaka.
I got it to work today! The executable maps worked finally. The auto.master file looks like this: Code:
/net /etc/auto.smb timeout=......etc After restarting autofs. You must manually access your directories. such as "ls /net/NAS". Notice the word manually, cause the machine will not search and list the avialable shares for you. But I can't get my other share for the host name TED-PC to work, my guess is that the "-" (dash) is causing the troubles. But I am not sure how to solve it. I hope there is someone that could resolve this problem. But the issue regarding this thread is technically solved. Thanks Ted |
All times are GMT -5. The time now is 09:32 PM. |