Univention Bugzilla – Attachment 7810 Details for
Bug 41745
univention.admin.uldap doesn't set self.binddn when calling bind manually
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
41745.patch (text/plain), 1.50 KB, created by
Florian Best
on 2016-07-18 14:42:15 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-07-18 14:42:15 CEST
Size:
1.50 KB
patch
obsolete
>diff --git a/management/univention-directory-manager-modules/modules/univention/admin/uldap.py b/management/univention-directory-manager-modules/modules/univention/admin/uldap.py >index b43cf9d..1100483 100644 >--- a/management/univention-directory-manager-modules/modules/univention/admin/uldap.py >+++ b/management/univention-directory-manager-modules/modules/univention/admin/uldap.py >@@ -228,6 +228,30 @@ def getPrintable_depth(self, short=1, long=0, trailingslash=1): > > class access: > >+ @propery >+ def binddn(self): >+ return self.lo.binddn >+ >+ @propery >+ def bindpw(self): >+ return self.lo.bindpw >+ >+ @propery >+ def host(self): >+ return self.lo.host >+ >+ @propery >+ def port(self): >+ return self.lo.port >+ >+ @propery >+ def base(self): >+ return self.lo.base >+ >+ @propery >+ def start_tls(self): >+ return self.lo.start_tls >+ > def __init__(self, host='localhost', port=None, base='', binddn='', bindpw='', start_tls=2, lo=None, follow_referral=False): > if lo: > self.lo = lo >@@ -240,12 +264,6 @@ def __init__(self, host='localhost', port=None, base='', binddn='', bindpw='', s > raise univention.admin.uexceptions.authFail(_("Authentication failed")) > except ldap.UNWILLING_TO_PERFORM: > raise univention.admin.uexceptions.authFail(_("Authentication failed")) >- self.host = self.lo.host >- self.port = self.lo.port >- self.base = self.lo.base >- self.binddn = self.lo.binddn >- self.bindpw = self.lo.bindpw >- self.start_tls = start_tls > self.require_license = 0 > self.allow_modify = 1 > self.licensetypes = ['UCS']
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 41745
:
7789
|
7801
| 7810