Univention Bugzilla – Attachment 6029 Details for
Bug 35521
UDM group name syntax too strict for standard french AD group names
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
test_group_syntax.py
test_group_syntax.py (text/plain), 585 bytes, created by
Arvid Requate
on 2014-07-30 13:22:10 CEST
(
hide
)
Description:
test_group_syntax.py
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2014-07-30 13:22:10 CEST
Size:
585 bytes
patch
obsolete
>#!/usr/bin/python ># -*- coding: utf-8 -*- >import univention.admin.modules as udm_modules >import univention.admin.syntax >import univention.admin.uexceptions >import univention.config_registry >udm_modules.update() > >module_users_user = udm_modules.get('groups/group') >try: > module_users_user.property_descriptions['name'].syntax.parse('Contrôleur') >except univention.admin.uexceptions.valueError: > print "default UDM group name sytnax too strict" > univention.config_registry.handler_set(['directory/manager/web/modules/groups/group/properties/name/syntax=string']) > udm_modules.update() >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 35521
: 6029