Package: autofs
Version: 4.1.4+debian-2.1
Severity: important


The default script for samba-shares doesn't correctly rewrite
hidden shares (shares ending with '$').
There is a simple workaround (I'm not sure it is the most beautiful,
but it is working):

1) Look for the following line in /etc/auto.smb:

/Disk/ { if (first) { print opts; first=0 }; sub(/ /, "\\ ", $2); print " \\\n\t /" $2, "://" key "/" $2 }

2) Add
   sub(/\$/, "\\$",$2);
   before
   sub(/ /, "\\ ", $2);

3) The line should look like:
/Disk/ { if (first) { print opts; first=0 }; sub(/\$/, "\\$",$2); sub(/ /, "\\ ", $2); print " \\\n\t /" $2, "://" key "/" $2 }




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to