Thanks for your fast response!

On Thu, 2007-29-03 at 01:33 +0200, Jan Christoph Nordholz wrote:
> Hi Jack,
> 
> > I'm trying to access a Samba share using auto.smb.
> 
> that is, the package-shipped default /etc/auto.smb program map, right?

Right.

> > In /smb/hostname,
> > auto.smb correctly lists available share names. However in
> > /smb/hostname/*(/*/*/... ad infinitum) it also lists available share
> > names, never share contents:
> 
> What kind of machine is acting as SMB/CIFS server?

Ubuntu Edgy machine running Samba.

> > ket% ls /smb/192.168.0.14
> > print  share
> > ket% ls /smb/192.168.0.14/share
> > print  share
> > ket% ls /smb/192.168.0.14/share/Movies
> > print  share
> > ket%
> 
> So /proc/mounts should be still clear of smb/cifs entries... do you see
> any failed mount attempts in syslog? - Could you insert a logging command
> at the top of /etc/auto.smb to check what $key values the automounter is
> really looking up?

Wow, thanks for your clear troubleshooting advice. I should probably
have thought of these myself : (

/proc/mounts is clear of smb/cifs entries, I do see a failed mount
attempt in syslog:

Mar 28 19:17:24 ket kernel:  CIFS VFS: Send error in SessSetup = -13
Mar 28 19:17:24 ket kernel:  CIFS VFS: cifs_mount failed w/return code =
-13
Mar 28 19:17:24 ket automount[4859]: >> Password: mount error 13 =
Permission denied
Mar 28 19:17:24 ket automount[4859]: >> Refer to the mount.cifs(8)
manual page (e.g.man mount.cifs)
Mar 28 19:17:24 ket automount[4859]: mount(generic): failed to
mount //mog.local/share (type cifs) on /smb/mog.local/share
Mar 28 19:17:24 ket kernel:  CIFS VFS: Send error in SessSetup = -13

However the following works successfully:

ket% sudo mount //mog.local/share /share -o guest
Anonymous login successful
ket%

So I assume /etc/auto.smb is simply missing a mount option incase
$credfile doesn't exist?

> > In addition to my Debian unstable machine, I've tried with another
> > Debian machine and a couple Ubuntu Edgy machines: Same behavior.
> 
> Have you tried replacing the server, too, or just the client?

So far just the client.

> Thanks for reporting!

Thank you Jan

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to