Univention Bugzilla – Attachment 7771 Details for
Bug 41688
Creating settings/mswmifilter fails: 'id' not required
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
41688.patch (text/plain), 1.48 KB, created by
Florian Best
on 2016-06-28 15:44:39 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-06-28 15:44:39 CEST
Size:
1.48 KB
patch
obsolete
>diff --git a/services/univention-s4-connector/modules/univention/admin/handlers/settings/mswmifilter.py b/services/univention-s4-connector/modules/univention/admin/handlers/settings/mswmifilter.py >index 1f88b45..1e7657b 100644 >--- a/services/univention-s4-connector/modules/univention/admin/handlers/settings/mswmifilter.py >+++ b/services/univention-s4-connector/modules/univention/admin/handlers/settings/mswmifilter.py >@@ -57,7 +57,7 @@ > options=[], > required=1, > may_change=1, >- identifies=1 >+ identifies=0, > ), > 'description': univention.admin.property( > short_description=_('Description'), >@@ -85,7 +85,7 @@ > syntax=univention.admin.syntax.string, > multivalue=0, > options=[], >- required=0, >+ required=1, > may_change=1, > identifies=1 > ), >@@ -258,21 +258,6 @@ > class object(univention.admin.handlers.simpleLdap): > module=module > >- def __init__(self, co, lo, position, dn='', superordinate=None, attributes = [] ): >- global mapping >- global property_descriptions >- >- self.mapping=mapping >- self.descriptions=property_descriptions >- self.default_dn='' >- >- univention.admin.handlers.simpleLdap.__init__(self, co, lo, position, dn, superordinate, attributes = attributes ) >- >- self.save() >- >- def _ldap_pre_create(self): >- self.dn='cn=%s,%s' % (mapping.mapValue('id', self.info['id']), self.position.getDn()) >- > def _ldap_pre_modify(self): > if self.hasChanged('id'): > newdn = string.replace(self.dn, 'cn=%s,' % self.oldinfo['id'], 'cn=%s,' % self.info['id'], 1)
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 41688
: 7771