View | Details | Raw Unified | Return to bug 26454
Collapse All | Expand All

(-)modules/univention/admin/objects.py (-2 / +2 lines)
 Lines 61-67    Link Here 
61
61
62
	return None
62
	return None
63
63
64
def get(module, co, lo, position, dn='', attr=None, superordinate=None):
64
def get(module, co, lo, position, dn='', attr = None, superordinate = None, attributes = [] ):
65
	'''return object of module while trying to create objects of
65
	'''return object of module while trying to create objects of
66
	superordinate modules as well'''
66
	superordinate modules as well'''
67
67
 Lines 72-78    Link Here 
72
	if not superordinate:
72
	if not superordinate:
73
		superordinate = get_superordinate( module, co, lo, dn or position.getDn() )
73
		superordinate = get_superordinate( module, co, lo, dn or position.getDn() )
74
74
75
	return module.object( co, lo, position, dn, superordinate = superordinate )
75
	return module.object( co, lo, position, dn, superordinate = superordinatem, attributes = attributes )
76
76
77
def open(object):
77
def open(object):
78
	'''initialization of properties not neccessary for browsing etc.'''
78
	'''initialization of properties not neccessary for browsing etc.'''
(-)modules/univention/admin/handlers/computers/windows.py (-1 / +1 lines)
 Lines 348-354    Link Here 
348
348
349
		self.old_samba_option = False
349
		self.old_samba_option = False
350
350
351
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate)
351
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes )
352
352
353
		self.options = []
353
		self.options = []
354
		if self.oldattr.has_key('objectClass'):
354
		if self.oldattr.has_key('objectClass'):
(-)modules/univention/admin/handlers/computers/managedclient.py (-1 / +1 lines)
 Lines 356-362    Link Here 
356
		self.newPrimaryGroupDn=0
356
		self.newPrimaryGroupDn=0
357
		self.oldPrimaryGroupDn=0
357
		self.oldPrimaryGroupDn=0
358
358
359
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate)
359
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes)
360
360
361
		self.options = []
361
		self.options = []
362
		if self.oldattr.has_key('objectClass'):
362
		if self.oldattr.has_key('objectClass'):
(-)modules/univention/admin/handlers/computers/memberserver.py (-1 / +1 lines)
 Lines 383-389    Link Here 
383
		self.ipRequest=0
383
		self.ipRequest=0
384
384
385
		self.old_samba_option = False
385
		self.old_samba_option = False
386
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate)
386
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes)
387
		self.options = []
387
		self.options = []
388
		nagios.Support.__init__(self)
388
		nagios.Support.__init__(self)
389
389
(-)modules/univention/admin/handlers/computers/computer.py (-1 / +1 lines)
 Lines 165-171    Link Here 
165
		self.mapping=mapping
165
		self.mapping=mapping
166
		self.descriptions=property_descriptions
166
		self.descriptions=property_descriptions
167
167
168
		super(object, self).__init__(co, lo, position, dn, superordinate)
168
		super(object, self).__init__(co, lo, position, dn, superordinate, attributes)
169
169
170
	def open( self ):
170
	def open( self ):
171
		super( object, self ).open()
171
		super( object, self ).open()
(-)modules/univention/admin/handlers/computers/trustaccount.py (-1 / +1 lines)
 Lines 110-116    Link Here 
110
110
111
		self.alloc=[]
111
		self.alloc=[]
112
112
113
		super(object, self).__init__(co, lo, position, dn, superordinate)
113
		super(object, self).__init__(co, lo, position, dn, superordinate, attributes)
114
114
115
	def open(self):
115
	def open(self):
116
		super(object, self).open()
116
		super(object, self).open()
(-)modules/univention/admin/handlers/computers/domaincontroller_backup.py (-1 / +1 lines)
 Lines 389-395    Link Here 
389
389
390
		self.old_samba_option = False
390
		self.old_samba_option = False
391
391
392
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate)
392
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes)
393
393
394
		self.options = []
394
		self.options = []
395
		if self.oldattr.has_key('objectClass'):
395
		if self.oldattr.has_key('objectClass'):
(-)modules/univention/admin/handlers/computers/thinclient.py (-1 / +1 lines)
 Lines 242-248    Link Here 
242
242
243
		self.ipRequest=0
243
		self.ipRequest=0
244
244
245
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate)
245
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes)
246
		nagios.Support.__init__(self)
246
		nagios.Support.__init__(self)
247
247
248
		self.save( )
248
		self.save( )
(-)modules/univention/admin/handlers/computers/macos.py (-1 / +1 lines)
 Lines 304-310    Link Here 
304
		self.newPrimaryGroupDn=0
304
		self.newPrimaryGroupDn=0
305
		self.oldPrimaryGroupDn=0
305
		self.oldPrimaryGroupDn=0
306
306
307
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate)
307
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes)
308
308
309
		self.options = []
309
		self.options = []
310
		if self.oldattr.has_key('objectClass'):
310
		if self.oldattr.has_key('objectClass'):
(-)modules/univention/admin/handlers/computers/domaincontroller_slave.py (-1 / +1 lines)
 Lines 389-395    Link Here 
389
389
390
		self.old_samba_option = False
390
		self.old_samba_option = False
391
391
392
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate)
392
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes )
393
393
394
		self.options = []
394
		self.options = []
395
		if self.oldattr.has_key('objectClass'):
395
		if self.oldattr.has_key('objectClass'):
(-)modules/univention/admin/handlers/computers/mobileclient.py (-1 / +1 lines)
 Lines 356-362    Link Here 
356
		self.newPrimaryGroupDn=0
356
		self.newPrimaryGroupDn=0
357
		self.oldPrimaryGroupDn=0
357
		self.oldPrimaryGroupDn=0
358
358
359
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate)
359
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes)
360
360
361
		self.options = []
361
		self.options = []
362
		if self.oldattr.has_key('objectClass'):
362
		if self.oldattr.has_key('objectClass'):
(-)modules/univention/admin/handlers/computers/ipmanagedclient.py (-1 / +1 lines)
 Lines 243-249    Link Here 
243
243
244
		self.ipRequest=0
244
		self.ipRequest=0
245
245
246
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate)
246
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes)
247
247
248
		nagios.Support.__init__(self)
248
		nagios.Support.__init__(self)
249
249
(-)modules/univention/admin/handlers/computers/windows_domaincontroller.py (-1 / +1 lines)
 Lines 361-367    Link Here 
361
361
362
		self.old_samba_option = False
362
		self.old_samba_option = False
363
363
364
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate)
364
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes)
365
365
366
		self.options = []
366
		self.options = []
367
		if self.oldattr.has_key('objectClass'):
367
		if self.oldattr.has_key('objectClass'):
(-)modules/univention/admin/handlers/computers/domaincontroller_master.py (-1 / +1 lines)
 Lines 388-394    Link Here 
388
388
389
		self.old_samba_option = False
389
		self.old_samba_option = False
390
390
391
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate)
391
		univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes)
392
392
393
		self.options = []
393
		self.options = []
394
		if self.oldattr.has_key('objectClass'):
394
		if self.oldattr.has_key('objectClass'):

Return to bug 26454