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
12 hours 21 min ago
1 day 4 hours ago
1 day 5 hours ago
1 day 5 hours ago
1 day 14 hours ago
1 day 19 hours ago
1 day 19 hours ago
2 days 6 hours ago
2 days 8 hours ago
2 days 14 hours ago