Package: Autofs
Version: 4.1.3+4.1.4beta2-10
the auto.smb script contains the following line:
/Disk/ { if (first) { print opts; first=0 }; print "
\\\n\t /" $2, "://" key "/" $2 }
SAMBA for some reason lists printer drivers as 'Disk'
shares:
IPC|IPC$|Remote IPC
Disk|print$|Printer Drivers
Disk|C|
Printer|HPLJ4L|HP LaserJet 4L
This produces error messages when a mount is attempted
for
//machinename/print
which doesn't exist:
automount[17409]: mount(generic): calling mount -t
cifs -s -o rw,credentials=/etc/auto.cifs.DELL3000
//DELL3000/print /smb/DELL3000/print
Jun 16 19:32:50 EMACH433 automount[17409]: >> retrying
with upper case share name
Jun 16 19:32:50 EMACH433 automount[17409]: >> mount
error 6 = No such device or address
The mount
A workaround is to make the mount conditional on the
share name not being print$ (WinXP) or PRINTER$
(Win9x):
/Disk/ { if (first) { print opts; first=0 }; if ($2
!= "PRINTER$") { if ($2 != "print$") print " \\\n\t /"
$2, "://" key "/" $2 } }
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]