Further to my last post I decided to BUY a copy Suse 9.1 including Samba
3. Not only was Suse very easy to setup I managed to get Samba up and
running without too many problems and can now print from Windows clients
via Samba. My only remaining challenge is setting up point and print.
Thanks for the responses.
Regards,
Chris
Christopher Moss
Murray McIntosh O'Brien
Wellesley House
204 London Road
Waterlooville
PO7 7AN
023 9223 1006
-----Original Message-----
From: chris [mailto:chris@mmo-accountants.co.uk]
Sent: 25 June 2004 16:18
To: 'samba@lists.samba.org'
Subject: RE: [Samba] Samba config
Thanks for the reply Keith but unforutnately I'm still not winning. I've
tried using security = share but was plagued with password requests
whether I created guest user with null passwords or stuck with the
default nobody user. I also tried security = user again without any joy
I went back to security domain. I can now see the printer but it shows
as Opening on the XP machine's printers and faxes dialog and if I
succeed in opening it I get the Access denied, can not connect message.
I have trawled the web and found a few references to this but few if any
suggestions. Also I have managed to create a TCPIP port in windows and
print to the printer. Also on the unix machine I can issue
smbclient //samba/beyond
I get prompted for a password and just press return. I am then told that
anonymous logon is successful, however when I try to print a local file
I get the following: Error unable to open local file.
As an aside I have been trying to print from Win98 via Samba without
success but I notice in the smbd log the following:
Unable to connect to CUPS server: connection refused
This may explain the problems but I have never installed CUPS on the
system so where is Samba picking this default setting up from?
For info my latest attempt at a config file is attached - the file share
is working perfectly but the printer share while visible in doing
nothing!! Can
[Global]
netbios name = samba
workgroup = MMO
wins server = x.x.x.x
os level = 33
security = domain
encrypt passwords = yes
guest account = smbguest
guest ok = yes
nt acl support = no
null passwords = yes
load printers = yes
[beyond]
path = /var/spool/lpd/beyond
printing = BSD
printable = yes
print command = /usr/bin/lpr -P%p -r -s%
use client driver = yes
guest ok = yes
[temp]
path = /usr/local/samba/tmp
browseable = yes
read only = no
comment = Test share
guest ok = yes
I apologies for being thick but I'm new to FreeBSD and Samba and my Unix
skills are a bit rusty - it's about three years since I last worked on
AIX. If anyone has a set by set Janet and John guide I'd be most
grateful.
Regards,
Chris
Christopher Moss
Murray McIntosh O'Brien
Wellesley House
204 London Road
Waterlooville
PO7 7AN
023 9223 1006
-----Original Message-----
From: Keith Edmunds [mailto:keith@midnighthax.com]
Sent: 24 June 2004 17:11
To: chris
Subject: Re: [Samba] Samba config
Hi Chris
Saw your note on the Samba list. Some quick thoughts (sorry if you've
already checked these things):
> As far as security is
> concerned I am happy for guest/anonymous logon as the server will only
> be used for printing but I have set security to domain and added samba
> to the domain.
If you're happy with guest access then configure it for guest access -
much
easier than messing with domains.
> [global]
> netbios name = samba
> workgroup = MMO
> wins server = x.x.x.x #changed
> os level = 33
> security = domain
> encrypt passwords = yes
> # printcap name = /etc/printcap
> password server = *
>
> [beyond] # temporary printer share to test setup
> path = /var/spool/lpd
---is /var/spool/lpd writable by all?
> guest ok = yes
> printable = yes
> printing = BSD
> print command = /usr/bin/lpr -P%p -r %s
---su to your guest user and ensure that the above command works
> Can anyone suggest what I am doing wrong? Also should I use lpr or
cups> as we don't have any postscript printers?
You can create raw queues in CUPS quite easily; CUPS is not limited to
PostScript printers.
I'd start by removing the server from the domain (keep it simple).
Good luck.
Keith
--
----------------------------------------------------------------------
Small business computer support: http://www.tiger-computing.co.uk
Linux consultancy: http://www.TheLinuxConsultancy.co.uk
----------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
Disclaimer
Privileged or confidential information may be contained in this message.
If you are not the addressee of this message please notify the sender
by return and delete it, and you may not use, copy, disclose or rely
on the information contained in it. Internet e-mail may be susceptible
to data corruption, interception and unauthorised amendment for which
Murray McIntosh O'Brien does not accept liability. Likewise whilst we
have taken reasonable precautions to ensure that this e-mail and any
attachments have been swept for viruses, Murray McIntosh O'Brien
does not accept liability for any losses caused as a result of viruses.
Statements in this message that do not relate to the business of Murray
McIntosh O'Brien are neither given nor endorsed by it or the Directors
of Murray McIntosh O'Brien. A list of the Directors of Murray McIntosh
O'Brien is available for inspection at our offices.
----------------------------------------------------------------------------------------------------------------------