All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Jurgens <autofs@edcint.co.nz>
To: Ian Kent <raven@themaw.net>
Cc: "autofs@linux.kernel.org" <autofs@linux.kernel.org>
Subject: Re: Not correctly mount SMB shares ending in $
Date: Sat, 13 Sep 2008 22:30:34 +1000	[thread overview]
Message-ID: <48CBB26A.2040205@edcint.co.nz> (raw)
In-Reply-To: <1221275360.2965.3.camel@raven.themaw.net>


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

Debug Log:

Sep 16 01:03:11 tempgw automount[17954]: st_expire: state 1 path /misc
Sep 16 01:03:11 tempgw automount[17954]: expire_proc: exp_proc = 
3083123600 path /misc
Sep 16 01:03:11 tempgw automount[17954]: expire_cleanup: got thid 
3083123600 path /misc stat 0
Sep 16 01:03:11 tempgw automount[17954]: expire_cleanup: sigchld: exp 
3083123600 finished, switching from 2 to 1
Sep 16 01:03:11 tempgw automount[17954]: st_ready: st_ready(): state = 2 
path /misc
Sep 16 01:03:12 tempgw automount[17954]: st_expire: state 1 path /misc
Sep 16 01:03:12 tempgw automount[17954]: expire_proc: exp_proc = 
3083123600 path /misc
Sep 16 01:03:12 tempgw automount[17954]: expire_cleanup: got thid 
3083123600 path /misc stat 0
Sep 16 01:03:12 tempgw automount[17954]: expire_cleanup: sigchld: exp 
3083123600 finished, switching from 2 to 1
Sep 16 01:03:12 tempgw automount[17954]: st_ready: st_ready(): state = 2 
path /misc
Sep 16 01:03:12 tempgw automount[17954]: handle_packet: type = 3
Sep 16 01:03:12 tempgw automount[17954]: handle_packet_missing_indirect: 
token 344, name xp0, request pid 17592
Sep 16 01:03:12 tempgw automount[17954]: attempting to mount entry /smb/xp0
Sep 16 01:03:12 tempgw automount[17954]: lookup_mount: lookup(program): 
looking up xp0
Sep 16 01:03:13 tempgw automount[17954]: lookup_mount: lookup(program): 
xp0 -> -fstype=cifs,username=USER,password=PASSWORD  #011 /C "://xp0/C"  
#011 /ADMIN\$ "://xp0/ADMIN\$"  #011 /C\$ "://xp0/C\$"
Sep 16 01:03:13 tempgw automount[17954]: parse_mount: parse(sun): 
expanded entry: -fstype=cifs,username=USER,password=PASSWORD  #011 /C 
"://xp0/C"  #011 /ADMIN\$ "://xp0/ADMIN\$"  #011 /C\$ "://xp0/C\$"
Sep 16 01:03:13 tempgw automount[17954]: parse_mount: parse(sun): 
gathered options: fstype=cifs,username=USER,password=PASSWORD
Sep 16 01:03:13 tempgw automount[17954]: parse_mount: parse(sun): 
dequote("/C") -> /C
Sep 16 01:03:13 tempgw automount[17954]: parse_mapent: parse(sun): 
gathered options: fstype=cifs,username=USER,password=PASSWORD
Sep 16 01:03:13 tempgw automount[17954]: parse_mapent: parse(sun): 
dequote(""://xp0/C"") -> ://xp0/C
Sep 16 01:03:13 tempgw automount[17954]: add_offset_entry: parse(sun): 
added multi-mount offset /C -> 
-fstype=cifs,username=USER,password=PASSWORD ://xp0/C
Sep 16 01:03:13 tempgw automount[17954]: parse_mount: parse(sun): 
dequote("/ADMIN\$") -> /ADMIN$
Sep 16 01:03:13 tempgw automount[17954]: parse_mapent: parse(sun): 
gathered options: fstype=cifs,username=USER,password=PASSWORD
Sep 16 01:03:13 tempgw automount[17954]: parse_mapent: parse(sun): 
dequote(""://xp0/ADMIN\$"") -> ://xp0/ADMIN\$
Sep 16 01:03:13 tempgw automount[17954]: add_offset_entry: parse(sun): 
added multi-mount offset /ADMIN$ -> 
-fstype=cifs,username=USER,password=PASSWORD ://xp0/ADMIN\$
Sep 16 01:03:13 tempgw automount[17954]: parse_mount: parse(sun): 
dequote("/C\$") -> /C$
Sep 16 01:03:13 tempgw automount[17954]: parse_mapent: parse(sun): 
gathered options: fstype=cifs,username=USER,password=PASSWORD
Sep 16 01:03:13 tempgw automount[17954]: parse_mapent: parse(sun): 
dequote(""://xp0/C\$"") -> ://xp0/C\$
Sep 16 01:03:13 tempgw automount[17954]: add_offset_entry: parse(sun): 
added multi-mount offset /C$ -> 
-fstype=cifs,username=USER,password=PASSWORD ://xp0/C\$
Sep 16 01:03:13 tempgw automount[17954]: mount_multi_triggers: mount 
offset /smb/xp0/ADMIN$
Sep 16 01:03:13 tempgw automount[17954]: mount_autofs_offset: calling 
mount -t autofs -s  -o fd=18,pgrp=17954,minproto=5,maxproto=5,offset 
automount /smb/xp0/ADMIN$
Sep 16 01:03:13 tempgw automount[17954]: mount_autofs_offset: mounted 
trigger /smb/xp0/ADMIN$
Sep 16 01:03:13 tempgw automount[17954]: mount_multi_triggers: mount 
offset /smb/xp0/C
Sep 16 01:03:13 tempgw automount[17954]: mount_autofs_offset: calling 
mount -t autofs -s  -o fd=18,pgrp=17954,minproto=5,maxproto=5,offset 
automount /smb/xp0/C
Sep 16 01:03:13 tempgw automount[17954]: mount_autofs_offset: mounted 
trigger /smb/xp0/C
Sep 16 01:03:13 tempgw automount[17954]: mount_multi_triggers: mount 
offset /smb/xp0/C$
Sep 16 01:03:13 tempgw automount[17954]: mount_autofs_offset: calling 
mount -t autofs -s  -o fd=18,pgrp=17954,minproto=5,maxproto=5,offset 
automount /smb/xp0/C$
Sep 16 01:03:13 tempgw automount[17954]: mount_autofs_offset: mounted 
trigger /smb/xp0/C$
Sep 16 01:03:13 tempgw automount[17954]: send_ready: token = 344
Sep 16 01:03:13 tempgw automount[17954]: handle_packet: type = 5
Sep 16 01:03:13 tempgw automount[17954]: handle_packet_missing_direct: 
token 345, name /smb/xp0/C$, request pid 17592
Sep 16 01:03:13 tempgw automount[17954]: attempting to mount entry 
/smb/xp0/C$
Sep 16 01:03:13 tempgw automount[17954]: lookup_mount: lookup(program): 
/smb/xp0/C$ -> -fstype=cifs,username=USER,password=PASSWORD ://xp0/C\$
Sep 16 01:03:13 tempgw automount[17954]: parse_mount: parse(sun): 
expanded entry: -fstype=cifs,username=USER,password=PASSWORD ://xp0/C\$
Sep 16 01:03:13 tempgw automount[17954]: parse_mount: parse(sun): 
gathered options: fstype=cifs,username=USER,password=PASSWORD
Sep 16 01:03:13 tempgw automount[17954]: parse_mount: parse(sun): core 
of entry: options=fstype=cifs,username=USER,password=PASSWORD, 
loc=://xp0/C\$
Sep 16 01:03:13 tempgw automount[17954]: sun_mount: parse(sun): mounting 
root /smb, mountpoint /smb/xp0/C$, what //xp0/C\$, fstype cifs, options 
username=USER,password=PASSWORD
Sep 16 01:03:13 tempgw automount[17954]: mounted /smb/xp0
Sep 16 01:03:13 tempgw automount[17954]: do_mount: //xp0/C\$ 
/smb//smb/xp0/C$ type cifs options username=USER,password=PASSWORD using 
module generic
Sep 16 01:03:13 tempgw automount[17954]: mount_mount: mount(generic): 
calling mkdir_path /smb/xp0/C$
Sep 16 01:03:13 tempgw automount[17954]: mount_mount: mount(generic): 
calling mount -t cifs -s -o username=USER,password=PASSWORD //xp0/C\$ 
/smb/xp0/C$
Sep 16 01:03:13 tempgw automount[17954]: mount(generic): mounted 
//xp0/C\$ type cifs on /smb/xp0/C$
Sep 16 01:03:13 tempgw automount[17954]: send_ready: token = 345
Sep 16 01:03:13 tempgw automount[17954]: mounted /smb/xp0/C$
Sep 16 01:03:13 tempgw automount[17954]: st_expire: state 1 path /misc
Sep 16 01:03:13 tempgw automount[17954]: expire_proc: exp_proc = 
3082075024 path /misc
Sep 16 01:03:13 tempgw automount[17954]: expire_cleanup: got thid 
3082075024 path /misc stat 0
Sep 16 01:03:13 tempgw automount[17954]: expire_cleanup: sigchld: exp 
3082075024 finished, switching from 2 to 1
Sep 16 01:03:13 tempgw automount[17954]: st_ready: st_ready(): state = 2 
path /misc



After cd /smb/xp0/C$
pwd yields: /smb/xp0/C$
and mount yields: //xp0/C/$ on /smb/xp0/C$ type cifs (rw,mand)

Thanks

Ian Kent wrote:
> On Sat, 2008-09-13 at 12:03 +1000, Matthew Jurgens wrote:
>   
>> Ok, so I updated the script to the RPM version and added the
>> authentication parts:
>>     
>
> Right, the reason the script changed was because of the "$" shares.
> I thought it was working ok but maybe a subsequent change to the daemon
> has broken it.
>
> I'll try to duplicate the problem here but a debug log would also be
> useful. See http://people.redhat.com/jmoyer for details.

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

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

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

  reply	other threads:[~2008-09-13 12:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-09  4:01 Not correctly mount SMB shares ending in $ Matthew Jurgens
2008-09-10  3:49 ` Ian Kent
2008-09-11  8:34   ` Matthew Jurgens
2008-09-11 14:16     ` Ian Kent
2008-09-13  2:03       ` Matthew Jurgens
2008-09-13  3:09         ` Ian Kent
2008-09-13 12:30           ` Matthew Jurgens [this message]
2008-09-16  3:22             ` Ian Kent
2008-09-16 12:30             ` Ian Kent
2008-09-16  4:16         ` Ian Kent
2008-09-16 10:22           ` Jeff Layton
2008-09-16 12:21             ` Ian Kent
     [not found]         ` <1221539403.15861.108.camel@homebase.localnet>
2008-09-16  4:48           ` Ian Kent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48CBB26A.2040205@edcint.co.nz \
    --to=autofs@edcint.co.nz \
    --cc=autofs@linux.kernel.org \
    --cc=raven@themaw.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.