Univention Bugzilla – Attachment 7516 Details for
Bug 40816
AD Connector: Failed to lookup AD LDAP base
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Failed_to_lookup_AD_LDAP_base.patch
Failed_to_lookup_AD_LDAP_base.patch (text/plain), 1.13 KB, created by
Arvid Requate
on 2016-03-02 11:52:53 CET
(
hide
)
Description:
Failed_to_lookup_AD_LDAP_base.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2016-03-02 11:52:53 CET
Size:
1.13 KB
patch
obsolete
>@@ -699,8 +758,9 @@ > tls_mode = 0 > > ## Determine ad_ldap_base with exact case >+ ldaps = self.baseConfig.is_true('%s/ad/ldap/ldaps' % self.CONFIGBASENAME, False) # tls or ssl > try: >- self.lo_ad=univention.uldap.access(host=self.ad_ldap_host, port=int(self.ad_ldap_port), base='', binddn=None, bindpw=None, start_tls=tls_mode, use_ldaps = ldaps, ca_certfile=self.ad_ldap_cer) >+ self.lo_ad=univention.uldap.access(host=self.ad_ldap_host, port=int(self.ad_ldap_port), base='', binddn=None, bindpw=None, start_tls=tls_mode, use_ldaps = ldaps, ca_certfile=self.ad_ldap_certificate) > self.ad_ldap_base = self.lo_ad.lo.search_ext_s('', ldap.SCOPE_BASE, > 'objectclass=*', ['defaultNamingContext'], > timeout=-1, sizelimit=0)[0][1]['defaultNamingContext'][0] >@@ -707,7 +767,6 @@ > except Exception: > ud.debug(ud.LDAP, ud.ERROR, 'Failed to lookup AD LDAP base, using UCR value.') > >- ldaps = self.baseConfig.is_true('%s/ad/ldap/ldaps' % self.CONFIGBASENAME, False) # tls or ssl > > if self.baseConfig.is_true('%s/ad/ldap/kerberos' % self.CONFIGBASENAME): > os.environ['KRB5CCNAME']='/var/cache/univention-ad-connector/krb5.cc'
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 40816
: 7516 |
8313