Univention Bugzilla – Attachment 7585 Details for
Bug 41017
extended options aren't evaluated in users/user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
41017.patch (text/plain), 1.01 KB, created by
Florian Best
on 2016-04-07 09:00:41 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-04-07 09:00:41 CEST
Size:
1.01 KB
patch
obsolete
>diff --git a/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py b/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py >index a439a9d..8ccdfee 100644 >--- a/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py >+++ b/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py >@@ -1355,8 +1355,8 @@ def __init__(self, co, lo, position, dn='', superordinate=None, attributes = []) > self.options=[] > if 'objectClass' in self.oldattr: > ocs = set(self.oldattr['objectClass']) >- for opt in ('posix', 'samba', 'person', 'kerberos', 'mail', 'pki', 'ldap_pwd'): >- if options[opt].matches(ocs): >+ for opt, option in options.iteritems(): >+ if not option.disabled and option.matches(ocs): > self.options.append(opt) > else: > univention.debug.debug(univention.debug.ADMIN, univention.debug.INFO, 'users/user.py: reset options to default by _define_options' )
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 41017
: 7585