|
1 |
@%@UCRWARNING=# @%@ |
1 |
@%@UCRWARNING=# @%@ |
2 |
|
2 |
|
3 |
@!@ |
3 |
@!@ |
|
|
4 |
from univention.lib.misc import custom_username |
5 |
|
4 |
if configRegistry.is_true('samba/share/netlogon', True): |
6 |
if configRegistry.is_true('samba/share/netlogon', True): |
5 |
print '[netlogon]' |
7 |
print '[netlogon]' |
6 |
print '\tcomment = Domain logon service' |
8 |
print '\tcomment = Domain logon service' |
|
89 |
writable = no |
91 |
writable = no |
90 |
create mode = 0700 |
92 |
create mode = 0700 |
91 |
# use client driver = true |
93 |
# use client driver = true |
92 |
# lpq command = lpstat -o %p |
94 |
# lpq command = lpstat -o %%p |
93 |
# lprm command = cancel %p-%j |
95 |
# lprm command = cancel %%p-%%j |
94 |
# using windows printer drivers |
96 |
# using windows printer drivers |
95 |
# print command = lpr -P %p -o raw %s -r |
97 |
# print command = lpr -P %%p -o raw %%s -r |
96 |
# using cups drivers (PostScript on Windows) |
98 |
# using cups drivers (PostScript on Windows) |
97 |
# print command = lpr -P %p %s |
99 |
# print command = lpr -P %%p %%s |
98 |
|
100 |
|
99 |
[print$] |
101 |
[print$] |
100 |
comment = Printer Drivers |
102 |
comment = Printer Drivers |
|
102 |
browseable = yes |
104 |
browseable = yes |
103 |
guest ok = no |
105 |
guest ok = no |
104 |
read only = no |
106 |
read only = no |
105 |
write list = root, Administrator, @Printer-Admins |
107 |
write list = root, %(_default_administrator)s, @Printer-Admins |
106 |
''' |
108 |
''' % {"_default_administrator": custom_username("Administrator")} |
107 |
@!@ |
109 |
@!@ |
108 |
|
110 |
|
109 |
|
111 |
|