[Samba] All users able to access printer

Jason C. Waters jwaters at h2os.com
Fri Oct 29 12:56:33 GMT 2004


You could try adding:
	guest ok = no


Shailesh P Shirali wrote:
> Hi all,
>          I have setup with linux samba-server(ver 2.2.1a) as my
> print-server under user security model with printer access allowed only
> for a few users. It's so happening that samba is allowing any users to
> fire print jobs on the shared printers,even those users who are not in
> the valid users list. 
> However it is fine with normal shared folders ,where only the valid user
> are able to watch the shared-folders. 
> 
> Any idea why this happening , is there some bug in this version.
> below is the smb.conf I'm using.
> 
> [global]
> security=user
> netbios name=PRINT-SERVER
> workgroup=WORKGROUP
> load printers=yes
> printer admin=user
> printcap name=/etc/printcap
> printing=cups
> [print$]
> path=/usr/local/samba/print
> read only=yes
> browseable=no
> guest ok=yes
> write list=user
> [Lexmark]
> path=/var/disk1/print/spool
> read only=no
> valid users= ABC XYZ
> max connections=50
> printer=prn
> printable=yes
> browseable=yes
> comment=Lexmark  Z700-P700 Serie
>  
> rgds
> Shailesh P Shirali
> Teneoris Networks
>        
> 


More information about the samba mailing list