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
You can try adding the option, 'guest ok=no' under your [laser] section. - Shailesh> > From: Sebastian Kutsch <Sebastian.Kutsch@gmx.de> > To: samba@lists.samba.org > Subject: [Samba] printer shares > Date: 20 Nov 2004 14:28:16 +0100 > > Content-Transfer-Encoding: 7bit > From: Sebastian Kutsch <Sebastian.Kutsch@gmx.de> > Precedence: list > Subject: [Samba] printer shares > Date: Sat, 20 Nov 2004 14:28:16 +0100 > To: samba@lists.samba.org > Message-ID: <20041120142816.5bab5333.Sebastian.Kutsch@gmx.de> > 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 -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