samba woes

Net Llama! netllama
Mon Jun 27 12:29:11 PDT 2005


On Mon, 27 Jun 2005, Aaron Grewell wrote:
>
> > And amazingly, this command works:
> >  mount -t cifs -o
> > username="blahuser",password="foopaswd",domain="fc.com"
> > //BUILDS/BIOS /mnt/builds
> >
> > So it looks like maybe the domain isn't/wasn't getting passed
> > from my smb.conf?
> >
> > I tried adding the domain as an option in my fstab entry, but
> > doing a 'mount -a' still doesn't want to work:
> > mount error 13 = Permission denied
> >
> > I'm this -> <- close to getting this 100% working.  Surely,
> > i'm missing something obvious at this point?
>
> Have you got the mount.cifs helper on there somewhere?  If so, perhaps it's
> not finding it.  Have you tried calling mount.cifs directly to see what
> syntax it likes?

mount.cifs //BUILDS/BIOS /mnt/builds -o
credentials="/root/.smbpw","domain=foo.com"

^^^ works fine.

Putting the following in /etc/fstab fails to work with 'mount -a'

//BUILDS/BIOS           /mnt/builds             cifs
credentials=/root/.smbpw,domain="foo.com"

mount error 13 = Permission denied

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


More information about the Linux-users mailing list