[Samba] Printer not accessible! Please review my conf on leaks

Joel Hammer Joel at HammersHome.com
Wed Jan 15 23:14:07 GMT 2003

Well, you have guest ok but you don't have a guest account or user defined
in global.
Why not get rid of valid users, too, for now.
Try something simpler like this:

# Global parameters
	netbios name = HAMMER2
	interfaces = 
	security = SHARE
	guest account = ftp
	comment = Filtered for Z53
	path = /tmp
	read only = No
	create mask = 0700
	guest ok = yes
	hosts allow = 192.168.
	printable = Yes
	printing = lprng
 	print command = echo %J %p %s  >>  /tmp/junkJ;\
                       a="`echo '%J' | sed "s/^.*- //"`" ;\
	               echo This is truncated $a >> /tmp/junkJ;\
                       /usr/bin/lpr -Pps  -J"$a"  %s;\
                       rm %s
	lpq command = /usr/bin/lpq -Pps
	lprm command = /usr/bin/lprm -Pps %j
	lppause command = /usr/sbin/lpc hold ps %j
	lpresume command = /usr/sbin/lpc release ps %j
	share modes = No
        use client driver = yes     


More information about the samba mailing list