#51 2022-06-17 08:09:12

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Getting Exception when connecting LDAP Active directory from Groovy

Hi Gopi S,

Gopisrinivasan wrote:

I have pinged the IP address of "LDAP Server" from my machine in the "Command prompt" and i am getting the response properly.

Is this the same machine where reportserver is installed?

Gopisrinivasan wrote:

Also Could you please tell me, Where i can execute the "ldapsearch" linux command from the below points
1. Inside the Report server terminal
2. In the Putty command

https://linux.die.net/man/1/ldapsearch

You can also use any other LDAP client for testing. It is important to install it in the same machine your reportserver is installed in.

Regards,
Eduardo

Offline

#52 2022-06-17 08:11:01

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Getting Exception when connecting LDAP Active directory from Groovy

Hi Gopi S,

can you pls also try to replace this:

<host>ldap://ldap.isshgdc1.issnet.iss-shipping.com</host>

with the IP of your machine?

<host>ldap://IP</host>

After a "config reload" you can test again.

Regards,
Eduardo

Offline

#53 2022-06-17 09:49:34

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Getting Exception when connecting LDAP Active directory from Groovy

Hi Gopi S,

I noticed in new reportserver version you don't have to write ldap:// in the url.

So pls just write this (without ldap://):

<host>ldap.isshgdc1.issnet.iss-shipping.com</host>

or the ip:
<host>IP</host>

After a "config reload" you can test again.

Regards,
Eduardo

Offline

#54 2022-06-20 08:59:48

Gopisrinivasan
Member
Registered: 2022-04-12

Re: Getting Exception when connecting LDAP Active directory from Groovy

Hi Eduardo,
I have removed ldap:// and tried the below command also i have put IP Address as well, but still i am getting the below issue.
Issue :
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09044E, comment: AcceptSecurityContext error, data 52e, v2580]; remaining name 'OU=Data Centre,OU=Service Accounts,DC=issnet,DC=iss-shipping,DC=com'

Command :
ldaptest users
ldaptest filter


Thanks & Regards,
Gopi S

Offline

#55 2022-06-20 09:49:43

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Getting Exception when connecting LDAP Active directory from Groovy

Hi Gopi S,

if you google for this error you find this for example:
https://www.ibm.com/mysupport/s/questio … anguage=de

So pls check if the credentials are valid. You can again use an external program for testing the configuration as well.

Regards,
Eduardo

Offline

#56 2022-06-27 06:15:14

Gopisrinivasan
Member
Registered: 2022-04-12

Re: Getting Exception when connecting LDAP Active directory from Groovy

Hi Eduardo,
I have cross verified with our Data center team regarding the Credentials and came to know that, all the Credential were good, but still we are getting the issue.

Please help us to resolve this issue.

Thanks & Regards,
Gopi S

Offline

#57 2022-06-27 10:46:44

Gopisrinivasan
Member
Registered: 2022-04-12

Re: Getting Exception when connecting LDAP Active directory from Groovy

Hi Eduardo,
we are having other issue in Version 4.1.0, Crystal Report link is disabled. The same is working fine in Version 3.7. Please find the root for the Crystal Report link below

In the Administration->Reports->Report Manager->Report Root->Dynamic Lists->Insert->Crystal Report

Thanks & Regards,
Gopi S

Offline

#58 2022-06-27 15:37:41

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Getting Exception when connecting LDAP Active directory from Groovy

Hi Gopisrinivasan,

pls open new threads for unrelated issues.

Regards,
Eduardo

Offline

#59 2022-06-27 15:40:07

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Getting Exception when connecting LDAP Active directory from Groovy

Hi Gopi S,

did you try your LDAP credentials in the "ldapsearch" command as described above?
https://linux.die.net/man/1/ldapsearch
Or any other external client ?

Regards,
Eduardo

Offline

#60 2022-06-30 14:00:11

Gopisrinivasan
Member
Registered: 2022-04-12

Re: Getting Exception when connecting LDAP Active directory from Groovy

Hi Eduardo,
As you mentioned, i have tried to execute with the LDAP Credentials as mentioned in the above link and getting the same issue. ["Command Not Found"]

For More information, please find the below LDAP Details
[edit] Pls do not include personal information [/edit]

And i am trying to execute the below command
[edit] Pls do not include personal information [/edit]

Please help me what mistake i have done in the command.

Thanks & Regards,
Gopi S

Offline

#61 2022-07-01 09:31:11

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Getting Exception when connecting LDAP Active directory from Groovy

Hi Gopi S,

ldapsearch is a linux command, as you can see in the documentation I sent. The idea is to use an external tool to connect to your LDAP server, to be completely sure that the user/password, etc combination is correct. You can use another external tool for this as well, as long as you are able to connect to your LDAP server. It is important to install it in the same machine your reportserver is installed in.

Your error is:

javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09044E, comment: AcceptSecurityContext error, data 52e, v2580]

if you google for this error you find this for example:
https://www.ibm.com/mysupport/s/questio … anguage=de

So pls check if the credentials are valid. You can again use an external program for testing the configuration as well.
If you install an external program (as I suggested), and you put the same credentials, you should have the same error message.

This error comes from your LDAP, not from your ReportServer, as your LDAP is the one checking your credentials. So you have to be completely sure your credentials are correct before entering them into ReportServer.

Also, as this error comes from LDAP, you can google for possible solutions, as this is a known LDAP error.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB