Univention Bugzilla – Bug 47930
IPv6 for cupsd.conf
Last modified: 2018-10-09 09:43:50 CEST
Template file /etc/univention/templates/files/etc/cups/cupsd.conf is not IPv6 compatible. ========================================================== # Attention! # You may only print out of the _univention_master_server subnet. # If you want to print from other subnets, please edit the following lines: # <Location /> Order Deny,Allow @!@ from univention.config_registry.interfaces import Interfaces allow = configRegistry.get('cups/location/base') if allow and allow != "networks": for addr in allow.split(): print ' Allow From %s' % (addr,) else: interfaces = Interfaces(configRegistry) for _name, iface in interfaces.ipv4_interfaces: print ' Allow From %s' % (iface.ipv4_address().masked().with_netmask,) @!@ Allow From 127.0.0.1 Deny From All </Location> ========================================================== UCS is supposed to support IPv6 so this should even be valid for any apps running on UCS.
*** This bug has been marked as a duplicate of bug 34482 ***