Well lucky you, I just migrated my windows 2000 print services to a RHEL3 box. Here's how. I'll assume your windows domain is called foo.com, netbios FOO , and your print server is called jojo. And that you want to the main domain administrator account for setting up printers
1) setup cups
2) configure cups as a print server ( minimum /etc/cups/cupsd.conf )
Code:
ServerName jojo
LogLevel info
MaxLogSize 0
Printcap /etc/printcap
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
<Location />
</Location>
Browsing On
BrowseProtocols cups
Listen *:631
3) add printers, use kprinters, etc , plenty of docs out there, in general, you want to configure them as postscript printers, pick a particular model if avaiable, go hunt down a ppd file for your model, or pick "generic post script". I'm assuming your network printers all support postscript.
4) install samba
5) configure to share print queues
Code:
[global]
workgroup = FOO
server string = "acme print server"
printcap name = /etc/printcap
load printers = yes
cups options = raw
printer admin = administrator
log file = /var/log/samba/%m.log
max log size = 50
security = domain
password server = *
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
write list = administrator
[print$]
path = /var/spool/samba/drivers
guest ok = yes
browseable = yes
read only = yes
write list = administrator
6) make your samba server join your domain
Code:
net join -U foo.com/administrator
7) restart cups and samba
Code:
/etc/init.d/smb restart
/etc/init.d/cups restart
8) create unix user called "administrator", default uid is fine
9) setup point and click driver install for windows.
create directory /var/spool/samba/drivers/W32X86 owned by "administrator"
10) log in a windows box as FOO/administrator , access \\jojo\printers and Faxes , right click on a printer, do properties. Say no when prompted to install a printer driver. Go to the advanced tab, and click new printer. point it to your print driver inf file, and install as usual. for other printer of the same model, just pick the model from the combo box.
taaa-daaaah
enjoy