Univention Bugzilla – Attachment 10007 Details for
Bug 48410
S4 Connector: make mapping configurable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch alternative (git:fbest/48410-s4connector-mapping-include)
48410.patch (text/plain), 897 bytes, created by
Florian Best
on 2019-05-07 09:58 CEST
(
hide
)
Description:
patch alternative (git:fbest/48410-s4connector-mapping-include)
Filename:
MIME Type:
Creator:
Florian Best
Created:
2019-05-07 09:58 CEST
Size:
897 bytes
patch
obsolete
>diff --git a/services/univention-s4-connector/conffiles/etc/univention/s4connector/s4/mapping.py b/services/univention-s4-connector/conffiles/etc/univention/s4connector/s4/mapping.py >index 66f27b9f93..67aaebd2ec 100644 >--- a/services/univention-s4-connector/conffiles/etc/univention/s4connector/s4/mapping.py >+++ b/services/univention-s4-connector/conffiles/etc/univention/s4connector/s4/mapping.py >@@ -30,6 +30,9 @@ > # /usr/share/common-licenses/AGPL-3; if not, see > # <http://www.gnu.org/licenses/>. > >+import os >+import imp >+ > import univention.s4connector.s4 > import univention.s4connector.s4.mapping > import univention.s4connector.s4.password >@@ -1109,5 +1112,9 @@ if ignore_filter: > ), > } > >- >- >+try: >+ overwrite = imp.load_source('mapping', os.path.join(os.path.dirname(__file__), 'localmapping.py')).adjustmapping >+except (IOError, AttributeError): >+ pass >+else: >+ overwrite(s4_mapping)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 48410
:
9995
| 10007