Re: [Samba] Guest printing issue using cups

2005-11-07 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Vaughan Roberts escreveu:
> Hi,
>  
> I am running Samba.3.0.20b_1 on a FC4 box kernel-2.6_13.1 box 
> with a mixed set of Win2k, XP clients.
> I want to enable everyone to print to a local printer on the 
> Linux box as a guest.  The XP machines can do this, but my Win2k
> machine insists that I log in as a Samba user before it will enable
> me to print.  That's OK when I am logged into it (although
> annoying), as I know what to do, but others find this too difficult
> for them.
> I also suffer from the "Can't become connected user!" error messages, 
> though I seem to be able to connect and do what I need...

Have you tried to use "disable spoolss = yes"? I saw that you
are alreading use "use client driver = yes", in some print servers in
our company we have to use the "disable spoolss" to solve a similar
problem.

Anyway, there are a couple of considerations to your smb.conf:

> Here are the relevant parts of my smb.conf file.
[...]
> [printers]
> comment = All Printers
> path = /var/spool/samba
> printable = Yes
> guest OK = Yes
> cups options = 
> browseable = No
>  
> [LJ5MP]
> comment = Raw queue postscript laser printer
> path = /var/spool/samba
> read only = No
> guest only = Yes
> printable = Yes
> printer name = lj5mp
> use client driver = Yes
> share modes = No

If you check smb.conf manpage you'll find:

   guest only (S)
  If  this parameter is yes for a service, then only guest connec-
  tions to the service are permitted. This parameter will have  no
  effect if guest ok is not set for the service.

  See  the  section  below on  security for more information about
  this option.

  Default: guest only = no

You have "guest only = Yes" but you don't have "guest ok".

And I didn't found which security directive you are using.


> Any suggestions as to why this might be happening?

Hope it helps, kind regards. :-)

- --
Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/   Phone: (+55 41 3350 3300)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFDb0sSCj65ZxU4gPQRAt0HAJ49QuJ4pvMwIbVmsoNIIm1/OeCecACgil6n
PL3XWmx7nl0u1/xvqNn6iPI=
=olI8
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Guest printing issue using cups

2005-11-06 Thread Vaughan Roberts
Hi,
 
I am running Samba.3.0.20b_1 on a FC4 box kernel-2.6_13.1 box with a mixed set
of Win2k, XP clients.
 
I want to enable everyone to print to a local printer on the Linux box as a
guest.  The XP machines can do this, but my Win2k machine insists that I log in
as a Samba user before it will enable me to print.  That's OK when I am logged
into it (although annoying), as I know what to do, but others find this too
difficult for them.
 
I also suffer from the "Can't become connected user!" error messages, though I
seem to be able to connect and do what I need...
 
Here are the relevant parts of my smb.conf file.
 
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2005/11/07 09:30:09
 
[global]
workgroup = ROBERTS
server string = Samba %v on %h
interfaces = eth1, 127.0.0.1
bind interfaces only = Yes
map to guest = Bad User
username map = /etc/samba/smbusers
lanman auth = No
client lanman auth = No
client plaintext auth = No
log file = /var/log/samba/%m.log
max log size = 50
smb ports = 139
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
os level = 65
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
ldap ssl = no
idmap uid = some number
idmap gid = some number
valid users = Some users
hosts allow = 192.168.1.0/27, 127.0.0.1
cups options = raw
 
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
guest OK = Yes
cups options = 
browseable = No
 
[LJ5MP]
comment = Raw queue postscript laser printer
path = /var/spool/samba
read only = No
guest only = Yes
printable = Yes
printer name = lj5mp
use client driver = Yes
share modes = No
 
Any suggestions as to why this might be happening?

Best regards, 
Vaughan 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba