Univention Bugzilla – Attachment #8819: patch for bug #44518
'''
set random password to fulfill required values
ucs_object['overridePWLength'] = '1'
ucs_object['overridePWHistory'] = '1'
ucs_object['password'] = str(int(random.random() * 100000000)) * 20 # at least 20 characters