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.
_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to