#1 2018-12-06 12:46:53

Nayana
Member
Registered: 2018-11-15

Unable to setup Active Directory Integration on ReportServer 3.0.5 Ent

We were trying to setup AD integration and tried to run ldapimport.groovy file on ReportServer 3.0.5 Enterprise Version. It pop-ups the following error. Please assist.

Error:
reportserver$ exec -c ldapimport.groovy
Script execution failed.
error message: javax.script.ScriptException: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580] (javax.naming.AuthenticationException)
script arguments:
file: ldapimport.groovy (id: 11967, line 457)
line number: 457 (68, 31)
line: loadFromDirectory();

Thanks


Thanks & Regards
Nayana

Offline

#2 2018-12-09 09:00:10

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Unable to setup Active Directory Integration on ReportServer 3.0.5 Ent

Hi Nayana,

your LDAP credentials seem to be incorrect. Please keep in mind that you have to adapt the ldapimport script to your specific ldap installation. For example the credentials, guid, filter, username. More details here: https://forum.reportserver.net/viewtopi … 2894#p2894 and here: https://forum.reportserver.net/viewtopic.php?id=711

In order to check this, again, I would recommend you using an external tool, e.g. ldapsearch.
For example: ldapsearch -x -b "ou=Users,o=58b57552f9,dc=jumpcloud,dc=com" -D "uid=danna,ou=Users,o=58b57552f9,dc=jumpcloud,dc=com" -w "myPassword" -H ldap://ldap.jumpcloud.com:389 "(|(objectClass=organizationalUnit)(objectClass=person)(objectClass=group))"

Here you see the filter "(|(objectClass=organizationalUnit)(objectClass=person)(objectClass=group))"  and the rest of the parameters. So you can change them until you get the list of all the users you need. When you find out the correct parameters, you can enter them to the script and it should work analogously as the external LDAP client.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB