The Samba-Bugzilla – Attachment 414 Details for
Bug 1112
access-value is missing in modul printerdata.py
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for printerdata.py
printerdata.py.patch (text/plain), 847 bytes, created by
Thomas Kaminski
on 2004-02-20 06:56:24 UTC
(
hide
)
Description:
Patch for printerdata.py
Filename:
MIME Type:
Creator:
Thomas Kaminski
Created:
2004-02-20 06:56:24 UTC
Size:
847 bytes
patch
obsolete
>diff -uNr samba-3.0.0final-1.659.200310310756.orig/source/python/samba/printerdata.py samba-3.0.0final-1.659.200310310756/source/python/samba/printerdata.py >--- samba-3.0.0final-1.659.200310310756.orig/source/python/samba/printerdata.py Thu Feb 19 18:32:35 2004 >+++ samba-3.0.0final-1.659.200310310756/source/python/samba/printerdata.py Thu Feb 19 18:35:51 2004 >@@ -15,8 +15,11 @@ > from samba import spoolss > > class printerdata: >- def __init__(self, host, creds = {}): >- self.hnd = spoolss.openprinter(host, creds = creds) >+ def __init__(self, host, creds = {}, access = 33554432): >+ # for access >+ # MAXIMUM_ALLOWED_ACCESS = 33554432 >+ # PRINTER_ACCESS_ADMINISTER = 4 >+ self.hnd = spoolss.openprinter(host, creds = creds, access = access ) > > def keys(self): > return self.hnd.enumprinterdata().keys()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1112
:
414
|
415