Re: LDAPS Error Bugzilla::Auth::Verify
Thorsten Schöning <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.webtools |
|---|---|
| Organization | AM-SoFT GmbH IT-Systeme |
| Message-ID | <[email protected]> |
Guten Tag JPrasanna Venkatesan,
am Dienstag, 27. Oktober 2020 um 10:21 schrieben Sie:
> Could not connect to the LDAP server(s)
That message most likely means what it says. When you are NOT using
"ldaps://" things work like expected? What happens if your are using
"ldap://" and enable "LDAPstarttls"?
Your setup might simply not support "ldaps://" for some reason.
> sub ldap {
> my ($self) = @_;
> return $self->{ldap} if $self->{ldap};
>
> my @servers = split(/[\s,]+/, Bugzilla->params->{"LDAPserver"});
> ThrowCodeError("ldap_server_not_defined") unless @servers;
>
> foreach (@servers) {
> $self->{ldap} = new Net::LDAP(trim($_));
> last if $self->{ldap};
> }
> ThrowCodeError("ldap_connect_failed", {server => join(", ", @servers)})
> unless $self->{ldap};
>
> # try to start TLS if needed
> if (Bugzilla->params->{"LDAPstarttls"}) {
> my $mesg = $self->{ldap}->start_tls();
> ThrowCodeError("ldap_start_tls_failed", {error => $mesg->error()})
> if $mesg->code();
> }
>
> return $self->{ldap};
> }
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning E-Mail: [email protected]
AM-SoFT IT-Systeme http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
_______________________________________________
support-bugzilla mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [email protected] in the To: field when you reply.