#119519 - 2004-05-13 09:39 PM
Printer permissions
|
burnsc
Starting to like KiXtart
Registered: 2004-04-14
Posts: 171
|
Has anyone written a script to check the "print" permissions to a printer. I want to use this in a login script to install all the printers that a user has permissions to.
Thanks
|
Top
|
|
|
|
#119521 - 2004-05-13 09:52 PM
Re: Printer permissions
|
burnsc
Starting to like KiXtart
Registered: 2004-04-14
Posts: 171
|
Right now we are on NT. Which right would I check for this?
So far delploying printers by login script has not been a problem, but I have only done this on a limited user set. If it proves to be a problem, then I will begin deploying useing our main application deployment system(it has a user on the network that has full local admin rights it uses). Deploying this by Kixtart is easier though.
The print server is a Windows 2000 Server machine.
Edited by burnsc (2004-05-13 10:00 PM)
|
Top
|
|
|
|
#119524 - 2004-05-14 02:01 PM
Re: Printer permissions
|
burnsc
Starting to like KiXtart
Registered: 2004-04-14
Posts: 171
|
My original layout was to map useing ingroup and set permissions to that group rather than the user. Since we are looking at more of a group centric achitecture. I already have this method working. BUT, just in case rights gets added by user in addition, what I wanted to do was truthfully resolver the rights and see if the user in question has 'print' level rights to the printer. I wanted to use that as the 'ultimate' mapping mechanism.
|
Top
|
|
|
|
#119526 - 2004-05-14 02:25 PM
Re: Printer permissions
|
burnsc
Starting to like KiXtart
Registered: 2004-04-14
Posts: 171
|
Well I am also makeing sure that my acl rights are proper for the printers. Most of my users have access to no more than 3 printers. Except for engineers, they have access to around 10 printers. Where is this add all printers option?
|
Top
|
|
|
|
#119528 - 2004-05-14 02:36 PM
Re: Printer permissions
|
burnsc
Starting to like KiXtart
Registered: 2004-04-14
Posts: 171
|
"well, adding all the printers, should only add those to which the user has rights to." I was refering to that line from your reply. I was not sure if this was truely an option or a function. I did a search in the manual for "All Printers" and found nothing.
|
Top
|
|
|
|
#119531 - 2004-05-14 03:05 PM
Re: Printer permissions
|
burnsc
Starting to like KiXtart
Registered: 2004-04-14
Posts: 171
|
Ok. I was thinking you was referring to a function somewhere that could read all the printers. My Bad.
All of the printers I am looking at are housed on one server. That is an important part that I forgot earlier. Sorry.
This is (psudocode), more like: for each $printer on $server If Print_priv($Printer) $ret = addPrinterConnection($Printer) EndIf Next
|
Top
|
|
|
|
#119532 - 2004-05-14 03:18 PM
Re: Printer permissions
|
burnsc
Starting to like KiXtart
Registered: 2004-04-14
Posts: 171
|
Hmmm... I dont remember if there is a WMI client for WinNT. I will have to check that out.
Still looking for PrintMig.exe currently.
|
Top
|
|
|
|
#119534 - 2004-05-14 03:42 PM
Re: Printer permissions
|
burnsc
Starting to like KiXtart
Registered: 2004-04-14
Posts: 171
|
So, If I tried to add all the printers and the user did not have "print" access to that printer it would not add it. That is nice to know. Thanks
|
Top
|
|
|
|
#119535 - 2004-05-14 06:33 PM
Re: Printer permissions
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
PrintMig.EXE is part of the Resource Kit.
WMINT4.EXE is available from Microsoft for download.
Kent
|
Top
|
|
|
|
#119536 - 2004-05-14 07:08 PM
Re: Printer permissions
|
burnsc
Starting to like KiXtart
Registered: 2004-04-14
Posts: 171
|
Which resource kit? Windows 2000/XP?
Thanks
|
Top
|
|
|
|
#119537 - 2004-05-14 08:11 PM
Re: Printer permissions
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
I see it in both 2000/2k3 Resource Kits.
Kent
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 507 anonymous users online.
|
|
|