LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2006, 08:31 PM   #1
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
Autofs auto.smb attempts to mount printer drivers


In the Debian Autofs package 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

Any way to either modify the awk program in auto.smb to exclude the 'print$' service or modify the smbclient
options to list hard drives only?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
smb mount folders disappear on mount & konqueror smb fails: network unreachable tisource Linux - Networking 1 10-17-2007 01:30 AM
autofs does not mount removable disk sohmc Linux - Software 0 08-27-2005 05:41 PM
using autofs to auto mount my usb drives DesertWolf0132 Slackware 8 07-30-2004 11:27 AM
how to mount fstab vs autofs rrich100 Red Hat 1 11-14-2003 12:46 AM
autofs enabled in kernel but auto.mount and auto.master are NOT in /etc! Alybyzrp Linux - General 0 11-11-2003 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration