[Samba] OT(?): Poll: how big is your environment
thomas_tiedtke at de.schindler.com
thomas_tiedtke at de.schindler.com
Thu Mar 7 01:46:10 GMT 2002
Hi Mathias,
the main idea was to use the LANMAN printing protocol instant of the
SPOOLSS for the clients.
In the Windows 2000 Server Resource Kit i have found some VBS Scripts and
a DLL to automate the actions of the MS Add Printer Wizzard. The tools are
able to install a printer driver, a LANMAN port to a printer or server
printer and to add a printer to the client.... Also, you can install
printer on a server with this tools!
This tools are only working for Windows 2000 and not for NT!
Now we are must know some things:
1. the Name of the printer share
2. the printer model
3. the place of the printer driver
4. the inf file for printer driver installation
Points 1. and 2. are known form the printer setup on the sever (I am plan
to still using the Add printer wizzard for the server setup). The points 3
and 4 i will solve by putting a table on the server (by a shell script,
that enum the inf files - must be run by hand, if you are add a new driver
model). Maybe like:
Printer Model#path to printer driver#name of inf file
Now we have all info´s!
The add printer script that are used by samba build a another table like:
Name of Printer connection#Printer Model#path to printer driver#name of
inf file
This table will be used the client!
The client run at netlogon some batch files there are get the selected
printer for the client and grep the nessary infos form the second table
and script the info´s into the VBS scripts. ... and finished!
One Problem: you must check, if the printer to add on the client is all
ready installed! ... But there is a listprinter VBS.
Ok! I have tested the VBS scripts ... that works! I have to write the
shell script and the samba used script to generate the two tables. The
client Batch files are roughly finished!
I you are interested in this solution give my a message! I will send all
infos of the MS tools and - if i have finished - the unix scripts and the
MS batch files.
By the way:
we are using HP/UX too ... 10.20 on 7 sites with round about 600+
users/clients. At the time e are in a migration phase: We are move the
clients from W95 to W2000.
Regards, Thomas
PS. Göttingen? You are too at the Samba eXPerience 2002 in Göttingen?
Gesendet von: samba-admin at lists.samba.org
An: thomas_tiedtke at de.schindler.com
Kopie: samba at lists.samba.org
Thema: Re: [Samba] OT(?): Poll: how big is your environment
thomas_tiedtke at de.schindler.com wrote:
>
> nice idea Mathias ... Regards Thomas
> Architecture:
> [ ] x86
> [X] other (PA-RISC)
>
> Operating System:
> [ ] linux
> [ ] any BSD
> [X] commercial unix (HP/UX 10.20)
Now THAT was the one I was waiting for!!!
I have this task to automate the installation of printer drivers on some
20 samba servers running on HP-UX 10.20 and 11.00, each of them serves
the SAME 70 printers (sort of load balancing... only sort of...) and
anything with a reasonable amount of interaction is out of the question.
Best 'the big ones' would like was something which could run from cron,
or get rsync'ed around every night.
And while imprints *sounds* goot to me,
1. samba rpc spoolss stuff fails horribly where you have more than a
handful of printers, and
2. unicode<->ascii translation seems to be broken, the list of driver
files gets lost in the process...
you got any hints for me?
bye,
MH
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list