Re: [Samba] windows printer config management

2008-02-05 Thread Jean-Jacques Moulis
On Tue, 05 Feb 2008 14:39:39 +1100 Brian May [EMAIL PROTECTED] wrote:

BM Hello,

BM I sent this request to my local linux user group:
BM http://lists.luv.asn.au/wws/arc/luv-talk/2008-02/msg0.html
BM Unfortunately it looks like nobody is able to answer, so I will try
BM here:

BM Does anybody know of any sane solution for (globally) managing the
BM configuration of printers on a large number of Windows computers?

BM My current solution is

BM 1. create samba server with printer shares

BM 2. install windows printer drivers to samba server to allow automatic
BM installation

BM 3. on windows computer, drivers have to be installed from the samba server,
BM* installation of drivers as non-administrator won't work
BM* log in as administrator, install printer, which tries to install 
driver.
BM* first time, windows complains that the server doesn't have the drivers.
BM* retry, it works perfectly on second try.
BM* log as administrator, log it as user, printer doesn't exit.
BM* install printer again as user, this time it uses the existing drivers.

BM 4. if any changes required, e.g. printer is replaced, repeat then on
BM every computer for every user.

BM This is insane. Ok, so maybe I should be able to fix the problem with
BM the driver installation not working the first time (any ideas?), but
BM this is only a small step in the entire process.

BM cups makes this so much easier :-(.

BM Any ideas?

BM Thanks.
BM -- 
BM Brian May [EMAIL PROTECTED]

-If your computers and the samba printserv are domain members of the same 
domain,
even ordinary users can install drivers from the samba server.
(This is default)

-You can allow installation from others domain (some tweaks on clients)

-You can run start scripts on every clients to install drivers (and many others 
things).


Put your clients on a domain (why not a samba one)
use wpkg www.wpkg.org . it's a great help in managing clients!


cups is the most troublesome part of our print system, not samba, not windows 
:-(

Regards!

-- 
Jean-Jacques   Moulis  Tel:  (013) 281684
ISYFax:  (013) 139282
Linköping UniversityE-mail: [EMAIL PROTECTED]
581 83 Linköping
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] windows printer config management

2008-02-05 Thread Michael Heydon

Jean-Jacques Moulis wrote:

On Tue, 05 Feb 2008 14:39:39 +1100 Brian May [EMAIL PROTECTED] wrote:
...

BM 3. on windows computer, drivers have to be installed from the samba server,
BM* installation of drivers as non-administrator won't work
  
This is normal and good, drivers can carry viruses, only an admin should 
be able to load them.

BM* log in as administrator, install printer, which tries to install 
driver.
  

see below (wpkg and/or cpau)

BM* first time, windows complains that the server doesn't have the drivers.
  
This is odd and you will probably have to fix it before other things 
work smoothly.

BM* retry, it works perfectly on second try.
BM* log as administrator, log it as user, printer doesn't exit.
  

Normal, network printers are a per-user setting

BM* install printer again as user, this time it uses the existing drivers.
  

Do this in your login scripts (I suggest using vbscript).

BM 4. if any changes required, e.g. printer is replaced, repeat then on
BM every computer for every user.
  
Once the drivers have been loaded once, it shouldn't be necessary to 
reload them. Simply have the login script delete and reconnect the 
printers at each login, new settings should come across when the 
connection is remade.

BM cups makes this so much easier :-(.
  
There are methods you can use to print directly from windows to a cups 
server, in some cases you can manage all your printer settings through 
cups. Personally I find the samba/login script method simpler and better 
suited to our environment. YMMV.

BM Any ideas?

BM Thanks.
BM -- 
BM Brian May [EMAIL PROTECTED]


-If your computers and the samba printserv are domain members of the same 
domain,
even ordinary users can install drivers from the samba server.
(This is default)

  
Not if the users aren't a member of the local PC's Power Users or 
Administrators group and the drivers have never been loaded onto the 
machine in the past.

-You can allow installation from others domain (some tweaks on clients)

-You can run start scripts on every clients to install drivers (and many others 
things).


Put your clients on a domain (why not a samba one)
use wpkg www.wpkg.org . it's a great help in managing clients!
  
Check out cpau as well, it lets your logon scripts run things as admin 
even if your users aren't.
I would suggest creating an account that is an admin on each machine but 
has no authority on the domain (the encryption used by cpau isn't 
secure so a dedicated attacker could find out the password).


cups is the most troublesome part of our print system, not samba, not windows 
:-(

  

Agreed!!

*Michael Heydon - IT Administrator *
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba