Univention Bugzilla – Attachment 7885 Details for
Bug 41053
Extended Attribute Defaults are not taken into account for already created users
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
41053-3.patch (text/plain), 744 bytes, created by
Florian Best
on 2016-08-17 13:29:57 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-08-17 13:29:57 CEST
Size:
744 bytes
patch
obsolete
>diff --git a/management/univention-management-console-module-udm/umc/python/udm/__init__.py b/management/univention-management-console-module-udm/umc/python/udm/__init__.py >index 0dbe379..d722683 100644 >--- a/management/univention-management-console-module-udm/umc/python/udm/__init__.py >+++ b/management/univention-management-console-module-udm/umc/python/udm/__init__.py >@@ -465,6 +465,9 @@ def _thread(request): > else: > obj = module.get(ldap_dn) > if obj: >+ for name, p in obj.descriptions.items(): >+ if obj.has_key(name) and obj.descriptions[name].default(obj): >+ obj[name] # __getitem__ sets default value > props = obj.info > for passwd in module.password_properties: > if passwd in props:
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 41053
:
7595
|
7742
|
7743
| 7885