You are not logged in.
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
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