Patch for autofs 4.1.4 to mount Windows administrative shares
Hello!
For each local drive letter Windows starting from Version 2000 provides automatically a share with the names C$, D$, etc. In order to be able to access these shares, the file /etc/auto.smb needs a small patch, which I attached.
Jens
23c23
< /Disk/ { if (first) { print opts; first=0 }; print " \\\n\t /" $2, "://" key "/" $2 }
---
Quoted 1 line
/Disk/ { if (first) { print opts; first=0 }; gsub(/\$$/, "\\$", $2); print " \\\n\t /" $2, "://" key "/" $2 }_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs