Samba/Printer config error with RHEL5
Hello everybody,
First off, thank you for your time and help with assisting me with this problem. I am new to Linux OS and have been doing a lot of reading to get caught up to speed. I am experiencing problems with configuring my Rhel 5 Linux box to act as a print and storage server to my windows computer. I have read several google walkthroughs and tutorials and im stuck on one part. My overall goal is to set up a Samba Print/Storage Server with my linux box as the server. What I have working is this:
My windows box can connect to my linux samba server.
The user can create files and directories as well as move windows files to the linux box in the home directory of the user.
Windows does detect that a printer is attached to the linux computer.
Windows is able to add the printer to its printer list (using its equivalent windows version of the printer driver)
Windows shows me that the printer is connected, and the printer status is ready.
When I try to print... Nothing happeneds and nothing is shown in the print cues on both OS's.
Smb config is simple at the moment while I try to get it to work and everything is allowed atm.
My smb.conf configuration file is as shown:
[global]
workgroup = printgroup
server string = Samba Server ~ Version %v
netbios name = Sambaserver
hosts allow = 192.168.21.101 192.168.21.103 127.0.0.1
hosts deny = All
printcap name = cups
# load printers = Yes
printing = cups
show add printer wizard = no
# disable spools = Yes
[homes]
comment = Home Directories
browseable = No
writable = Yes
[printers]
comment = All Printers
path = /var/spool/samba
# path = /var/spool/cups
printer = raw
browseable = Yes
# writable = Yes
printable = Yes
use client driver = Yes
guest ok = Yes
# printer admin = sambauser
Things commented out are from different testing.
Also I added and the network to my cupsd.conf file
# Enable printer sharing and shared printers.
Browsing On
BrowseAllow all
BrowseAddress 192.168.21.255
# BrowsePoll 192.168.21.111
# BrowseRelay 127.0.0.1
# BrowseOrder allow,deny
# (Change '@LOCAL' to 'ALL' if using directed broadcasts from another subnet.)
DefaultAuthType Basic
<Location />
# Allow shared printing...
Order allow,deny
Allow 192.168.21.0/24
</Location>
I also added a /etc/hosts.lpd file containing
# 192.168.21.119 is my linux server ip
192.168.21.119
REJECT SERVICE=X NOT SERVER
Any advice or suggestions would be greatly appreciated.
|