I'm trying to share a Lexmark Z600 USB printer from within Linux using Samba. The other PC's are all running windows. I'm testing it on an XP pro machine but I keep getting "Access denied, unable to connect" on that machine.
Here's my smb.conf file:
Most of the stuff was there straight after installing smb but I've added the shared dirs etc and netbios stuff.# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-07-21
[global]
netbios name = chris
server string = Chris on Linux
workgroup = WORKGROUP
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator, sara
username map = /etc/samba/smbusers
map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
security = user
encrypt passwords = yes
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit permissions = Yes
[Setup]
path = /home/d11wtq/Setup
comment = /home/d11wtq/Setup
writeable = no
public = yes
guest ok = yes
wide links = no
[WindowsStorage]
path = /windows/C
comment = /windows/C
writeable = no
public = yes
guest ok = yes
wide links = yes
[FullSystem]
path = /
comment = /
writeable = no
public = yes
guest ok = yes
wide links = yes
[Movies]
path = /home/d11wtq/Shared_Folder/Movies
comment = /home/d11wtq/Shared_Folder/Movies
writeable = no
public = yes
guest ok = yes
wide links = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
My Lexmark is connected to /dev/usb/lp0. The first time i tried to connect in windows it did the usual prompting for drivers thing. So whacked my cd in and installed the xp drivers. I can open the properties etc but when it comes to actually connecting to the remote printer it displays "Access denied, unable to connect". Do I need to tweak something directly with the printer not just smb?
Cheers