You can try adding the option,  'guest ok=no' under your 
[laser] section.

- Shailesh

> 
> From: Sebastian Kutsch <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [Samba] printer shares
> Date: 20 Nov 2004 14:28:16 +0100
> 
> Content-Transfer-Encoding: 7bit
> From: Sebastian Kutsch <[EMAIL PROTECTED]>
> Precedence: list
> Subject: [Samba] printer shares
> Date: Sat, 20 Nov 2004 14:28:16 +0100
> To: [EMAIL PROTECTED]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=US-ASCII
> MIME-Version: 1.0
> Message: 3
> 
> Hi,
> 
> I have the problem, that from a Windows 2000 System (possibly from
> others to), a user can use a printershare with the guest account and I
> don't know why. Following my smb.conf:
> 
>  Samba config file created using SWAT
> # from 192.168.2.20 (192.168.2.20)
> # Date: 2004/11/20 14:26:14
> 
> # Global parameters
> [global]
> unix charset = ISO_8859-15
> display charset = ISO_8859-15
> workgroup = WG
> interfaces = sis0
> security = SHARE
> os level = 65
> preferred master = Yes
> ldap ssl = no
> create mask = 0640
> directory mask = 0750
> mangled names = No
> 
> [printers]
> path = /tmp
> printable = Yes
> browseable = No
> 
> [Exchange]
> path = /RAID5_0/public_exchange
> read only = No
> 
> [Music]
> path = /RAID5_0/Music
> 
> [homes]
> valid users = %S
> read only = No
> browseable = No
> 
> [Video]
> path = /RAID5_0/Video
> 
> [RPG]
> path = /RAID5_0/RPG
> read only = No
> 
> [laser]
> path = /var/spool/lpd/samba
> printer admin = root
> read only = No
> hosts allow = 192.168.2.
> printable = Yes
> printing = lprng
> print command = lpr [EMAIL PROTECTED] -r -P'%p' %s
> lpq command = lpq [EMAIL PROTECTED] -P'%p'
> lprm command = lprm [EMAIL PROTECTED] -P'%p' %j
> lppause command = lpc [EMAIL PROTECTED] hold '%p' %j
> lpresume command = lpc [EMAIL PROTECTED] release '%p' %j
> queuepause command = lpc [EMAIL PROTECTED] stop '%p'
> queueresume command = lpc [EMAIL PROTECTED] start '%p'
> printer name = laser
> oplocks = No
> share modes = No
> 
> 
> It would be great if someoone could give me a hint.
> 
> 
> Sebastian

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

Reply via email to