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

(-)a/ucs-4.0-0/management/univention-directory-manager-modules/modules/univention/admin/handlers/computers/domaincontroller_backup.py (-1 / +1 lines)
 Lines 428-434   def open(self): Link Here 
428
428
429
		tmppos=univention.admin.uldap.position(self.position.getDomain())
429
		tmppos=univention.admin.uldap.position(self.position.getDomain())
430
430
431
		if self.dn:
431
		if self.exists():
432
432
433
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
433
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
434
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
434
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
(-)a/ucs-4.0-0/management/univention-directory-manager-modules/modules/univention/admin/handlers/computers/domaincontroller_master.py (-1 / +1 lines)
 Lines 427-433   def open(self): Link Here 
427
		self.oldPrimaryGroupDn=0
427
		self.oldPrimaryGroupDn=0
428
428
429
429
430
		if self.dn:
430
		if self.exists():
431
431
432
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
432
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
433
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
433
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
(-)a/ucs-4.0-0/management/univention-directory-manager-modules/modules/univention/admin/handlers/computers/domaincontroller_slave.py (-1 / +1 lines)
 Lines 429-435   def open(self): Link Here 
429
429
430
		tmppos=univention.admin.uldap.position(self.position.getDomain())
430
		tmppos=univention.admin.uldap.position(self.position.getDomain())
431
431
432
		if self.dn:
432
		if self.exists():
433
433
434
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
434
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
435
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
435
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
(-)a/ucs-4.0-0/management/univention-directory-manager-modules/modules/univention/admin/handlers/computers/ipmanagedclient.py (-1 / +1 lines)
 Lines 261-267   def open(self): Link Here 
261
		univention.admin.handlers.simpleComputer.open( self )
261
		univention.admin.handlers.simpleComputer.open( self )
262
		self.nagios_open()
262
		self.nagios_open()
263
263
264
		if not self.dn:
264
		if not self.exists():
265
			return
265
			return
266
266
267
		self.save()
267
		self.save()
(-)a/ucs-4.0-0/management/univention-directory-manager-modules/modules/univention/admin/handlers/computers/linux.py (-1 / +1 lines)
 Lines 374-380   def open(self): Link Here 
374
		self.modifypassword=0
374
		self.modifypassword=0
375
375
376
376
377
		if self.dn:
377
		if self.exists():
378
378
379
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
379
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
380
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
380
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
(-)a/ucs-4.0-0/management/univention-directory-manager-modules/modules/univention/admin/handlers/computers/macos.py (-1 / +1 lines)
 Lines 389-395   def open(self): Link Here 
389
389
390
		tmppos=univention.admin.uldap.position(self.position.getDomain())
390
		tmppos=univention.admin.uldap.position(self.position.getDomain())
391
391
392
		if self.dn:
392
		if self.exists():
393
393
394
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
394
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
395
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
395
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
(-)a/ucs-4.0-0/management/univention-directory-manager-modules/modules/univention/admin/handlers/computers/memberserver.py (-1 / +1 lines)
 Lines 418-424   def open(self): Link Here 
418
		self.newPrimaryGroupDn=0
418
		self.newPrimaryGroupDn=0
419
		self.oldPrimaryGroupDn=0
419
		self.oldPrimaryGroupDn=0
420
420
421
		if self.dn:
421
		if self.exists():
422
422
423
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
423
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
424
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
424
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
(-)a/ucs-4.0-0/management/univention-directory-manager-modules/modules/univention/admin/handlers/computers/trustaccount.py (-1 / +1 lines)
 Lines 119-125   def open(self): Link Here 
119
119
120
		self.options=['samba']
120
		self.options=['samba']
121
		self.modifypassword=1
121
		self.modifypassword=1
122
		if self.dn:
122
		if self.exists():
123
			self['password']='********'
123
			self['password']='********'
124
			self.modifypassword=0
124
			self.modifypassword=0
125
125
(-)a/ucs-4.0-0/management/univention-directory-manager-modules/modules/univention/admin/handlers/computers/ubuntu.py (-1 / +1 lines)
 Lines 374-380   def open(self): Link Here 
374
		self.modifypassword=0
374
		self.modifypassword=0
375
375
376
376
377
		if self.dn:
377
		if self.exists():
378
378
379
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
379
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
380
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
380
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
(-)a/ucs-4.0-0/management/univention-directory-manager-modules/modules/univention/admin/handlers/computers/windows.py (-1 / +1 lines)
 Lines 406-412   def open(self): Link Here 
406
406
407
		tmppos=univention.admin.uldap.position(self.position.getDomain())
407
		tmppos=univention.admin.uldap.position(self.position.getDomain())
408
408
409
		if self.dn:
409
		if self.exists():
410
410
411
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
411
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
412
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
412
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
(-)a/ucs-4.0-0/management/univention-directory-manager-modules/modules/univention/admin/handlers/computers/windows_domaincontroller.py (-1 / +1 lines)
 Lines 415-421   def open(self): Link Here 
415
415
416
		tmppos=univention.admin.uldap.position(self.position.getDomain())
416
		tmppos=univention.admin.uldap.position(self.position.getDomain())
417
417
418
		if self.dn:
418
		if self.exists():
419
419
420
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
420
			if 'posix' in self.options and not self.info.get( 'primaryGroup' ):
421
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]
421
				primaryGroupNumber=self.oldattr.get('gidNumber',[''])[0]

Return to bug 37119