[Samba] printer shares

Sebastian Kutsch Sebastian.Kutsch at gmx.de
Sat Nov 20 13:28:16 GMT 2004


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 -U%U@%M -r -P'%p' %s
lpq command = lpq -U%U@%M -P'%p'
lprm command = lprm -U%U@%M -P'%p' %j
lppause command = lpc -U%U@%M hold '%p' %j
lpresume command = lpc -U%U@%M release '%p' %j
queuepause command = lpc -U%U@%M stop '%p'
queueresume command = lpc -U%U@%M start '%p'
printer name = laser
oplocks = No
share modes = No


It would be great if someoone could give me a hint.


Sebastian



More information about the samba mailing list