View | Details | Raw Unified | Return to bug 44518 | Differences between
and this patch

Collapse All | Expand All

(-)a/services/univention-ad-connector/modules/univention/connector/__init__.py (+2 lines)
 Lines 79-84   def set_ucs_passwd_user(connector, key, ucs_object): Link Here 
79
	'''
79
	'''
80
	set random password to fulfill required values
80
	set random password to fulfill required values
81
	'''
81
	'''
82
	ucs_object['overridePWLength'] = '1'
83
	ucs_object['overridePWHistory'] = '1'
82
	ucs_object['password'] = str(int(random.random() * 100000000)) * 20  # at least 20 characters
84
	ucs_object['password'] = str(int(random.random() * 100000000)) * 20  # at least 20 characters
83
85
84
86

Return to bug 44518