samba woes

Net Llama! netllama
Tue Jun 28 09:05:31 PDT 2005


On Tue, 28 Jun 2005, Roger Oberholtzer wrote:
> On Mon, 2005-06-27 at 17:05, Net Llama! wrote:
> > On Sat, 25 Jun 2005, Aaron Grewell wrote:
> > >
> > > >With cifs I get:
> > > >mount error 13 = Permission denied
> > >
> > > >so its not working for both smb or cifs, but still for smbclient, and all
> > > >was working before i had to change my password yesterday.  *sigh*
>
> Remember that smbclient does not actually mount the share. It is more of
> an ftp-ish access. So the difference is in what mount does beyond just
> accessing the share, which seems to work. Have you tried strace on the
> mount command? Maybe the permission error is elsewhere (local).

I'm doing this as root, so i'd think that there can't be a local problem,
and running the mount command manually works ok, its just via fstab that
bombs.  Here's what stracing 'mount -a' shows me:

readlink("/mnt/builds", 0xbff62b80, 4096) = -1 EINVAL (Invalid argument)
stat64("/sbin/mount.cifs", {st_mode=S_IFREG|0755, st_size=18812, ...}) = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f15928) = 10372
wait4(-1, mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[{WIFEXITED(s) && WEXITSTATUS(s) == 255}], 0, NULL) = 10372
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(255)                         = ?


> Have you tried changing your password with smbpasswd again? This is the
> one that usually trips me up. Age, memory, you know the drill (or will
> at some point).

I've never changed my password with smbpasswd.  To be honest, i'm afraid
to touch the password at this point, since its working everywhere, and i
ended up in a ring of hell the last time i changed it with servers not all
syncing up until almost 12 hours later.  crappy M$.

>
> For another smb helper program, look at smb4k. It manages mounts at the
> user level (not via fstab). Maybe that will point at something.

OK, i guess i'll take a look at that when i have some time.  thanks.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                        netllama at linux-sxs.org
LlamaLand				http://netllama.linux-sxs.org


More information about the Linux-users mailing list