[Samba] Cannot print

Markus Feldmann feldmann_markus at gmx.de
Mon Aug 25 11:21:06 GMT 2003


Halllo, 

I wanna make a print-server but it didn´t work.
Here is may smb.conf

----------------------------------------------------------------------------------------
 Samba config file created using SWAT
 from 0.0.0.0 (0.0.0.0)
 Date: 2003/08/20 14:17:46

 Global parameters
[global]
	netbios name = FELD-SERVER
	security = SERVER
	encrypt passwords = Yes
	min passwd length = 0
	null passwords = Yes
	smb passwd file = /etc/samba/smbpasswd
	username map = /etc/samba/smbusers
	unix password sync = Yes
	log level = 1
	unix extensions = Yes
	socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
	printcap name = CUPS
	character set = ISO8859-15
	os level = 0
	preferred master = False
	local master = No
	domain master = False
	guest account = 
	printing = cups
	veto files = /*.eml/*.nws/riched20.dll/*.{*}/
	level2 oplocks = No

[printers]
	comment = All Printers
	path = /var/tmp
	create mask = 0600
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775

[mldonkey_incoming]
	comment = Hier werden die gedownloadeten Dateien gespeichert.
	path = /home/admin/incoming
	username = admin
	read only = No

[HP_Laser_4p_LPT1]
	comment = HP LaserJet 4 Plus, Foomatic + ljet4
	path = /var/tmp
	guest account = admin
	read only = No
	create mask = 0600
	guest ok = Yes
	printable = Yes
	printer name = HP_Laser_4p_LPT1
	oplocks = No

[HP_DJ_5550_LPT2]
	comment = HP DeskJet 5550, Foomatic + hpijs
	path = /tmp
	guest account = admin
	read only = No
	create mask = 0600
	guest ok = Yes
	printable = Yes
	printer name = HP_DJ_5550_LPT2
	oplocks = No------------------------------------------------------------------------------------------------
And here is may smbusers file------------------------------------------------------------------------------------------------- This file allows you to map usernames from the clients to the server. Unix_name = SMB_name1 SMB_name2 ... Cf. section 'username map' in the manual page of smb.conf for more information.;root = administrator adminnobody = guest pcguest smbguestadmin = gast------------------------------------------------------------------------------------The client i use is a WinXP Machine. I think XP will always connect to my Smb Printer as gast User therfor i did created "admin = gast". Is there any logfile where i can see the Debug message ?And the Linux Machine is a Suse 8.1 Distribution.The Printed file didn´t exist in the /tmp dir and on my client machine it says "Acces denied, no connection available". mfg Markus F. 


More information about the samba mailing list