All of lore.kernel.org
 help / color / mirror / Atom feed
* unable to automount windows C$
@ 2008-12-10 19:49 Scott Belnap
  2008-12-23  6:13 ` Ian Kent
  0 siblings, 1 reply; 30+ messages in thread
From: Scott Belnap @ 2008-12-10 19:49 UTC (permalink / raw)
  To: autofs


[-- Attachment #1.1: Type: text/plain, Size: 4841 bytes --]

I'm trying to automount a windows machine.  I am able to automount any
directory that doesn't have a $ in the mount name.  Looks like the
parse_mount method is stripping out the $ from the mount name.  Any ideas on
how to fix this?

Dec  9 23:49:03 dc2 automount[19084]: handle_packet_missing_direct: token
122, name /cifs/laptop/C$, request pid 17857
Dec  9 23:49:03 dc2 automount[19084]: attempting to mount entry
/cifs/laptop/C$
Dec  9 23:49:03 dc2 automount[19084]: lookup_mount: lookup(program):
/cifs/laptop/C$ ->
-fstype=cifs,file_mode=0644,dir_mode=0755,credentials=/etc/auto.smb.laptop
://laptop/C$
Dec  9 23:49:03 dc2 automount[19084]: parse_mount: parse(sun): expanded
entry:
-fstype=cifs,file_mode=0644,dir_mode=0755,credentials=/etc/auto.smb.laptop
://laptop/C
Dec  9 23:49:03 dc2 automount[19084]: parse_mount: parse(sun): gathered
options:
fstype=cifs,file_mode=0644,dir_mode=0755,credentials=/etc/auto.smb.laptop
Dec  9 23:49:03 dc2 automount[19084]: parse_mount: parse(sun): core of
entry:
options=fstype=cifs,file_mode=0644,dir_mode=0755,credentials=/etc/auto.smb.laptop,
loc=://laptop/C
Dec  9 23:49:03 dc2 automount[19084]: sun_mount: parse(sun): mounting root
/cifs, mountpoint /cifs/laptop/C$, what //laptop/C, fstype cifs, options
file_mode=0644,dir_mode=0755,credentials=/etc/auto.smb.laptop
Dec  9 23:49:03 dc2 automount[19084]: do_mount: //laptop/C
/cifs//cifs/laptop/C$ type cifs options
file_mode=0644,dir_mode=0755,credentials=/etc/auto.smb.laptop using module
generic
Dec  9 23:49:03 dc2 automount[19084]: mount_mount: mount(generic): calling
mkdir_path /cifs/laptop/C$
Dec  9 23:49:03 dc2 automount[19084]: mount_mount: mount(generic): calling
mount -t cifs -s -o
file_mode=0644,dir_mode=0755,credentials=/etc/auto.smb.laptop //laptop/C
/cifs/laptop/C$
Dec  9 23:49:03 dc2 kernel:  CIFS VFS: cifs_mount failed w/return code = -6
Dec  9 23:49:03 dc2 automount[19084]: >> retrying with upper case share name
Dec  9 23:49:03 dc2 kernel:  CIFS VFS: cifs_mount failed w/return code = -6
Dec  9 23:49:03 dc2 automount[19084]: >> mount error 6 = No such device or
address
Dec  9 23:49:03 dc2 automount[19084]: >> Refer to the mount.cifs(8) manual
page (e.g.man mount.cifs)
Dec  9 23:49:03 dc2 automount[19084]: spawn_mount: mount failed with error
code 16, retrying with the -f option
Dec  9 23:49:06 dc2 automount[19084]: >> unknown mount option f
Dec  9 23:49:06 dc2 automount[19084]: >> Usage:  /sbin/mount.cifs
<remotetarget> <dir> -o <options>
Dec  9 23:49:06 dc2 automount[19084]: >> Mount the remote target, specified
as a UNC name, to a local directory.
Dec  9 23:49:06 dc2 automount[19084]: >> Options:
Dec  9 23:49:06 dc2 automount[19084]: >> #011user=<arg>
Dec  9 23:49:06 dc2 automount[19084]: >> #011pass=<arg>
Dec  9 23:49:06 dc2 automount[19084]: >> #011dom=<arg>
Dec  9 23:49:06 dc2 automount[19084]: >> Less commonly used options:
Dec  9 23:49:06 dc2 automount[19084]: >>
#011credentials=<filename>,guest,perm,noperm,setuids,nosetuids,rw,ro,
Dec  9 23:49:06 dc2 automount[19084]: >>
#011sep=<char>,iocharset=<codepage>,suid,nosuid,exec,noexec,serverino,
Dec  9 23:49:06 dc2 automount[19084]: >>
#011directio,mapchars,nomapchars,nolock,servernetbiosname=<SRV_RFC1001NAME>
Dec  9 23:49:06 dc2 automount[19084]: >> Options not needed for servers
supporting CIFS Unix extensions
Dec  9 23:49:06 dc2 automount[19084]: >> #011(e.g. unneeded for mounts to
most Samba versions):
Dec  9 23:49:06 dc2 automount[19084]: >>
#011uid=<uid>,gid=<gid>,dir_mode=<mode>,file_mode=<mode>,sfu
Dec  9 23:49:06 dc2 automount[19084]: >> Rarely used options:
Dec  9 23:49:06 dc2 automount[19084]: >>
#011port=<tcpport>,rsize=<size>,wsize=<size>,unc=<unc_name>,ip=<ip_address>,
Dec  9 23:49:06 dc2 automount[19084]: >>
#011dev,nodev,nouser_xattr,netbiosname=<OUR_RFC1001NAME>,hard,soft,intr,
Dec  9 23:49:06 dc2 automount[19084]: >>
#011nointr,ignorecase,noposixpaths,noacl
Dec  9 23:49:06 dc2 automount[19084]: >> Options are described in more
detail in the manual page
Dec  9 23:49:06 dc2 automount[19084]: >> #011man 8 mount.cifs
Dec  9 23:49:06 dc2 automount[19084]: >> To display the version number of
the mount helper:
Dec  9 23:49:06 dc2 automount[19084]: >> #011/sbin/mount.cifs -V
Dec  9 23:49:06 dc2 automount[19084]: mount(generic): failed to mount
//laptop/C (type cifs) on /cifs/laptop/C$
Dec  9 23:49:06 dc2 automount[19084]: send_fail: token = 122
Dec  9 23:49:06 dc2 automount[19084]: handle_packet: type = 5
Dec  9 23:49:06 dc2 automount[19084]: handle_packet_missing_direct: token
123, name /cifs/laptop/C$, request pid 17857
Dec  9 23:49:06 dc2 automount[19084]: attempting to mount entry
/cifs/laptop/C$
Dec  9 23:49:06 dc2 automount[19084]: failed to mount /cifs/laptop/C$
Dec  9 23:49:06 dc2 automount[19084]: send_fail: token = 123
Dec  9 23:49:06 dc2 automount[19084]: failed to mount /cifs/laptop/C$

[-- Attachment #1.2: Type: text/html, Size: 5549 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2009-06-11 12:13 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-10 19:49 unable to automount windows C$ Scott Belnap
2008-12-23  6:13 ` Ian Kent
2009-05-11  0:43   ` Matthew Jurgens
2009-05-12  4:45     ` Ian Kent
2009-05-13  4:57       ` Matthew Jurgens
2009-05-13  5:05         ` Ian Kent
2009-05-13  5:30           ` Ian Kent
2009-05-13 11:54             ` Jeff Layton
2009-05-13 14:08               ` Ian Kent
     [not found]           ` <4A0A59F5.1090308@edcint.co.nz>
2009-05-13  5:32             ` Ian Kent
2009-05-13  5:47               ` Matthew Jurgens
2009-05-13  5:58                 ` Matthew Jurgens
2009-05-13  8:09                   ` Ian Kent
2009-05-13  8:16                     ` Ian Kent
2009-05-13  8:03                 ` Ian Kent
2009-05-13 23:55                   ` Matthew Jurgens
2009-05-14  2:23                     ` Ian Kent
     [not found]                       ` <4A0CC262.7020105@edcint.co.nz>
2009-05-15  7:13                         ` Ian Kent
2009-05-17  7:48                           ` Matthew Jurgens
2009-05-18  1:39                             ` Ian Kent
2009-06-02  5:45                               ` Matthew Jurgens
2009-06-02 11:17                                 ` Ian Kent
2009-06-04  0:15                                   ` Matthew Jurgens
2009-06-04  4:24                                     ` Ian Kent
     [not found]                                       ` <4A2DADEA.3010406@edcint.co.nz>
2009-06-09  3:05                                         ` Ian Kent
2009-06-09  3:21                                         ` Ian Kent
2009-06-09  8:03                                           ` Matthew Jurgens
2009-06-09  9:35                       ` Matthew Jurgens
2009-06-11  6:23                         ` Ian Kent
2009-06-11 12:13                           ` Matthew Jurgens

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.