|
746 |
print ' Order Allow,Deny' |
746 |
print ' Order Allow,Deny' |
747 |
print ' Allow From localhost' |
747 |
print ' Allow From localhost' |
748 |
print ' Allow From %(hostname)s.%(domainname)s' % configRegistry |
748 |
print ' Allow From %(hostname)s.%(domainname)s' % configRegistry |
749 |
print ' AuthType Basic' |
749 |
print ' AuthType %s' % configRegistry.get('cups/auth-type', 'Basic') |
750 |
print ' Require valid-user' |
750 |
print ' Require valid-user' |
751 |
print ' Satisfy any' |
751 |
print ' Satisfy any' |
752 |
print '</Location>' |
752 |
print '</Location>' |
|
793 |
# is a member of the system group to do any admin tasks. You can change |
793 |
# is a member of the system group to do any admin tasks. You can change |
794 |
# the group name using the SystemGroup directive. |
794 |
# the group name using the SystemGroup directive. |
795 |
# |
795 |
# |
796 |
|
796 |
@!@ |
797 |
AuthType Basic |
797 |
print 'AuthType %s' % configRegistry.get('cups/auth-type', 'Basic') |
|
|
798 |
@!@ |
798 |
AuthClass System |
799 |
AuthClass System |
799 |
#AuthType None |
800 |
#AuthType None |
800 |
|
801 |
|