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

Re: Error connecting to printer via Samba



On (16/03/06 16:54), David R. Litwin wrote:
> On 16/03/06, Clive Menzies <clive@clivemenzies.co.uk> wrote:
> > Have you tried putting up files for sharing on the XP system and checked
> > whether you can see them?
> > I've got smbclient and smbfs installed and mount file shares within
> > /etc/fstab
> 
> 
> That was the first thing I tried. Using the programme SAMBA on KDE, I did
> see them.  But, doing so with fstab would be infinitely more preferabe. How
> does one do this?

I have:
# smbclient configuration
//zeus/cma /smb/cma     cifs credentials=/home/clive/.smb_pass,file_mode=0660,dir_mode=0770  0 0
//zeus/clive /smb/clive cifs credentials=/home/clive/.smb_pass,file_mode=0660,dir_mode=0770  0 0
//zeus/misc /smb/misc  cifs credentials=/home/clive/.smb_pass,file_mode=0660,dir_mode=0770  0 0
//zeus/tamewolf /smb/tamewolf  cifs credentials=/home/clive/.smb_pass,file_mode=0660,dir_mode=0770  0 0     

.smb_pass is in the format:
username=clive
password=<password>

zeus is the (Samba) server and I mount the shares under /smb which you need to
$ sudo mkdir -p /smb/<share>

> I also have the cifs module installed.
> 
> > ...The what? Perhaps this is the problem? lsmod makes no mention of CIFS.

Try:
$ sudo modconf

and look for kernel/fs/cifs 

> Your printer setup via cups looks OK.
> 
> 
> >Well, that's good. The printer's address is also correct?

Looks OK to me

> Thank you kindly.

You're welcome :)

Incidentally I find this invaluable:
http://www.faqs.org/docs/Linux-mini/Debian-and-Windows-Shared-Printing.html

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business




Reply to: