[lug] Samba printer sharing

Stephen Queen svq at peakpeak.com
Tue May 24 06:05:46 MDT 2005


If you're using cups for your printer service You can try
adding
path = /var/spool/samba
to your printers share section. Also in
/etc/cups/mime.convs
uncomment the line

application/octet-stream        application/vnd.cups-raw\
0       -

and in the file
/etc/cups/mime.types
uncomment the line

application/octet-stream

Hope that helps.

Stephen Queen


On Mon, 23 May 2005, Mark Sweitzer wrote:

>
> I hope someone out there can help me with a Samba Windows sharing problem.
>
> I've set up a new Mandrake 10.1 server, running SMB.
>
> Several directory shares and one printer are being served to Windows-XP
> clients, with permissions allocated by user group.
>
> Authenticated Windows users able to see the server share in their "Network
> Places", they can access and map directories that are available, and read
> and write according to their permission levels.
>
> However, the one printer that's shared shows up as an item to be selected,
> but when a connection is attempted to be made to it, or if the Win-XP
> computer attempts to install it as a network printer, the following error
> is displayed: "Unable to Connect. Access Denied". And of course, printing
> to that printer returns an error instead of a printout.
>
> This printer is sharable to everyone in the "Users" group, and that
> includes all users installed on the Mandrake server. These users are
> logging-in to Windows with matching usernames and passwords.
>
> Anybody have any suggestions for this perplexing problem?
>
> The contents of the "smb.conf" file for Samba is displayed below,
>
> Thanks,
> Mark
> -------------
>
>
> #======================= Global Settings================================
> [global]
> 	log file = /var/log/samba/log.%m
> 	printer = LaserJet2200D
> 	load printers = yes
> 	smb passwd file = /etc/samba/smbpasswd
> 	socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
> 	force directory mode = 6664
> 	encrypt passwords = yes
> 	dns proxy = no
> 	netbios name = BLDR
> 	writeable = yes
> 	server string = Samba Server
> 	delete readonly = yes
> 	logon script = logon.bat
> 	path = /Data
> 	force create mode = 0664
> 	workgroup = SGWD
> 	logon path = \\BLDR\profile\%U
> 	comment = Share
> 	printcap name = /etc/printcap
> 	security = share
> 	max log size = 50
>
> [profile]
> 	csc policy = disable
> 	profile acls = yes
> 	public = yes
> 	path = /home/profile
> 	write list = @users
>
> [netlogon]
> 	path = /etc/samba/netlogon
>
> [Data]
> 	valid users = @users
>
> [homes]
> 	valid users = @users
> 	path =
>
> [Login]
> 	public = yes
> 	path = /Login
> 	write list = @users
>
> [printers]
> 	printable = yes
> 	valid users = @users
>
>
>
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
>



More information about the LUG mailing list