Hallo,
Wenn ich versuche die IP Adresse eines Computerobjektes zu entfernen (unter “General” - “Network settings”) erhalte ich folgenden Traceback:
[code] File ‘/usr/lib/pymodules/python2.6/notifier/threads.py’, line 82, 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 305, in _thread
module.modify( properties )
File ‘/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py’, line 157, in wrapper_func
ret = func( *args, **kwargs )
File ‘/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py’, line 363, in modify
superordinate = udm_objects.get_superordinate( self.module, None, ldap_connection, ldap_object[ ‘$dn$’ ] )
KeyError: ‘$dn$’[/code]
Die IP ist auch weiterhin noch eingetragen:
[quote]# udm computers/windows list --filter cn=test1234
cn=test1234
DN: cn=test1234,cn=computers,ou=xxx,dc=xxx,dc=ch
ARG: None
domain: None
ip: 192.168.222.222
network: None
unixhome: /dev/null
ntCompatibility: None
shell: /bin/false
description: None
inventoryNumber: None
mac: None
groups: cn=Windows Hosts,cn=groups,dc=xxx,dc=ch
primaryGroup: cn=Windows Hosts,cn=groups,dc=x,dc=ch
operatingSystemVersion: None
password: None
name: test1234
fqdn: None
sambaRID: 134992
operatingSystem: None[/quote]
Auf der CLI kann die IP problemlos entfernt werden:
[quote]# udm computers/windows modify --dn cn=test1234,cn=computers,ou=xxx,dc=xxx,dc=ch --remove ip=192.168.222.222
Object modified: cn=test1234,cn=computers,ou=xxx,dc=xxx,dc=ch
udm computers/windows list --filter cn=test1234
cn=test1234
DN: cn=test1234,cn=computers,ou=xxx,dc=xxx,dc=ch
ARG: None
domain: None
network: None
unixhome: /dev/null
ntCompatibility: None
shell: /bin/false
description: None
inventoryNumber: None
mac: None
groups: cn=Windows Hosts,cn=groups,dc=xxx,dc=ch
primaryGroup: cn=Windows Hosts,cn=groups,dc=xxx,dc=ch
operatingSystemVersion: None
password: None
name: test1234
fqdn: None
sambaRID: 134992
operatingSystem: None[/quote]
Ist dieses Verhalten schon bekannt?
Freundliche Grüsse