Univention Bugzilla – Bug 24668
Traceback bei nicht angegebener HardwareAdresse in DHCP Host
Last modified: 2021-04-30 18:14:57 CEST
Aus Bug 24590, Comment 11: Traceback bei nicht angegebener HardwareAdresse in DHCP Host, diese ist nicht als Pflichtfeld(*) markiert. File '/usr/lib/pymodules/python2.6/notifier/threads.py', line 81, in _run tmp = self._function() File '/usr/lib/pymodules/python2.6/notifier/__init__.py', line 104, in __call__ return self._function( *tmp, **self._kwargs ) File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py', line 261, in _thread dn = module.create( properties, container = options.get( 'container' ), superordinate = options.get( 'superordinate' ) ) File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 130, in wrapper_func ret = func( *args, **kwargs ) File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 288, in create self._map_properties( obj, ldap_object ) File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 240, in _map_properties raise UMC_OptionTypeError( _( 'The property %s has an invalid value: %s' ) % ( property_obj.short_description, str( e ) ) ) UMC_OptionTypeError: The property Hardware address has an invalid value: Hardware address: not enough arguments
*** Bug 24801 has been marked as a duplicate of this bug. ***
I get the following message in UMC when adding a DHCP host without a Ethernet address: >The following properties could not be validated: > Hardware address: This is not a valid MAC address (valid examples are 86:f5:d1:f5:6b:3e, 86-f5-d1-f5-6b-3e, 86f5d1f56b3e, 86f5.d1f5.6b3e) Probably fixed through Bug #25463, which added MAC syntax validation.