[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Old post: Writing to SMB share fails from some applications



On (02/02/05 15:57), Carlos Ribeiro wrote:
> On Wed, 2 Feb 2005 14:30:13 +0000, Clive Menzies
> <clive@clivemenzies.co.uk> wrote:
> > On (02/02/05 11:40), Carlos Ribeiro wrote:
> > > Hi Clive,
> > >
> > >
> > > I've found your post on the debian list, but I found no follow up to
> > > it. I would like to know if you have more info about the problem. It
> > > seems that we've ran in the same problem here with Ubuntu (a
> > > Debian-based distro) & Open Office. Any information is valuable.
> > >
> > > I found your original message at this location:
> > > http://groups.google.com.br/groups?selm=3arlv-4Sm-13%40gated-at.bofh.it&output=gplain
> > Hi Carlos
> > 
> > Ah! That was a while ago and I gave up, reverting to nfs.  Then about 3
> > weeks ago I took delivery of a new laptop and thought I'd try again.
> > 
> > Following spotting something about smbfs being deprecated in favour of
> > cifs, I installed the cifs kernel module (using modconf in debian) and mounted
> > the shares as cifs instead of smbfs.  I did this last week and it's been
> > working fine since then.
> 
> Hi, I found some references about CIFS also later (after I sent that
> message to you). I found the lack of documentation on CIFS absolutely
> confusing. Almost all existing references talk about CIFS, the
> "Microsoft Standard", and a few precious talk about moubt.cifs, the
> Linux CIFS client. I still would greatly appreciate if you could send
> to me more info, or pointers about it.
> 
> I also found intriguing another thing: with so many documents about
> Samba as a server for a Windows environment, there's little literature
> on the use of a Linux workstation with Samba. That would be
> understandable if NFS were a little bit better, but considering how
> bad and outdated NFS is... I thought more people would have tried a
> client CIFS/SMB for Linux.
>  
> An example: please check your 'man mount', and see if cifs is
> mentioned at all. I found that mount.cifs is included in my setup
> (Ubuntu hoary, a debian based distro), but 'man mount' doesnt list it.
> It also seem to be a little short on arguments, which is equally
> weird. There's also little literature on the use of the mapping issues
> in this scenario. I wish to solve it, but it`s being much harder than
> I antecipated.
No cifs isn't mentioned in the man mount page

Having wrestled with Samba for some time I recently bought the O'Reilly
book Chapter 5 is quite helpful:
http://it.samba.org/samba/docs/using_samba/ch05.html

and the unofficial samba howto:
http://www.math.temple.edu/computing/samba.html

Just substitute cifs for smbfs

my fstab looks like this:

# smbclient configuration
//server/share /smb/share            cifs
//credentials=/home/user/.smb_pass,file_mode=0660,dir_mode=0770    0
//0
//server/share2 /smb/share2        cifs
//credentials=/home/user/.smb_pass,file_mode=0660,dir_mode=0770    0
//0
etc.

Regards

Clive




Reply to: