|
32 |
print '\tacl_xattr:ignore system acls = yes' |
32 |
print '\tacl_xattr:ignore system acls = yes' |
33 |
elif samba4_ntacl_backend == 'tdb': |
33 |
elif samba4_ntacl_backend == 'tdb': |
34 |
print '\tvfs objects = acl_tdb' |
34 |
print '\tvfs objects = acl_tdb' |
35 |
@!@ |
|
|
36 |
|
35 |
|
|
|
36 |
print ''' |
37 |
[printers] |
37 |
[printers] |
38 |
comment = Drucker |
38 |
comment = Drucker |
39 |
browseable = no |
39 |
browseable = no |
|
43 |
writable = no |
43 |
writable = no |
44 |
create mode = 0700 |
44 |
create mode = 0700 |
45 |
# use client driver = true |
45 |
# use client driver = true |
46 |
# lpq command = lpstat -o %p |
46 |
# lpq command = lpstat -o %%p |
47 |
# lprm command = cancel %p-%j |
47 |
# lprm command = cancel %%p-%%j |
48 |
# using windows printer drivers |
48 |
# using windows printer drivers |
49 |
# print command = lpr -P %p -o raw %s -r |
49 |
# print command = lpr -P %%p -o raw %%s -r |
50 |
# using cups drivers (PostScript on Windows) |
50 |
# using cups drivers (PostScript on Windows) |
51 |
# print command = lpr -P %p %s |
51 |
# print command = lpr -P %%p %%s |
52 |
|
52 |
|
53 |
[print$] |
53 |
[print$] |
54 |
comment = Printer Drivers |
54 |
comment = Printer Drivers |
|
56 |
browseable = yes |
56 |
browseable = yes |
57 |
guest ok = no |
57 |
guest ok = no |
58 |
read only = no |
58 |
read only = no |
59 |
write list = root, Administrator, @Printer-Admins |
59 |
write list = root, %(_default_administrator)s, @Printer-Admins |
|
|
60 |
''' % {"_default_administrator": custom_username("Administrator")} |
61 |
@!@ |
60 |
|
62 |
|
61 |
@!@ |
63 |
@!@ |
62 |
if configRegistry.is_true('samba/share/netlogon', True): |
64 |
if configRegistry.is_true('samba/share/netlogon', True): |