Add new comment
|
I found that I had to make two changes to the script. First, silly as it sounds, I have some shares with more than two spaces. So I had to change the awk command "sub" to gsub. Also, NT/XP insists on sharing some default shares with a "$" in them. Unless the $ is escaped, autofs doesn't like the output of the script. Here are my changes: $SMBCLIENT $smbclientopts -gL $key 2>/dev/null \ Thank you so much for the script! I wouldn't have figured this out without the example Davek
Reply |




Recent comments
2 hours 52 min ago
4 hours 58 min ago
5 hours 7 min ago
7 hours 38 min ago
8 hours 27 min ago
11 hours 4 min ago
11 hours 29 min ago
13 hours 22 min ago
17 hours 33 min ago
20 hours 45 min ago