git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r25598: Add missing become_root/unbecome_root around calls of add_aliases.
[samba.git]
/
source
/
python
/
examples
/
spoolss
/
psec.py
diff --git
a/source/python/examples/spoolss/psec.py
b/source/python/examples/spoolss/psec.py
index f3fdb7bccd602eec03a6843c23a46f97a7d7d890..498a0ef1744e2d3a9d470ef70f8c369bb023eed8 100755
(executable)
--- a/
source/python/examples/spoolss/psec.py
+++ b/
source/python/examples/spoolss/psec.py
@@
-3,7
+3,8
@@
# Get or set the security descriptor on a printer
#
-import sys, spoolss, re, string
+import sys, re, string
+from samba import spoolss
if len(sys.argv) != 3:
print "Usage: psec.py getsec|setsec printername"