Re: LDAPS Error Bugzilla::Auth::Verify

JPrasanna Venkatesan <[email protected]>
Newsgroups gmane.comp.mozilla.devel.webtools
Message-ID <[email protected]>
On Tuesday, October 27, 2020 at 3:51:29 PM UTC+5:30, Thorsten Schöning wrote:
> 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

With LDAP, it is working
With LDAP and LDAPstarttls, it is not working
WIth LDAPS, it is not working
_______________________________________________
support-bugzilla mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [email protected] in the To: field when you reply.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.