You are not logged in.
I'm using RS2.2.2-5639 version of ReportServer and I've configured LDAP as instructed on page http://blog.datenwerke.net/2013/08/Repo … ation.html
Users are regularly imported and I've put groovy script 'hookldappam.groovy' to 'onstartup.d' dir. Also I've changed 'rs.authenticator.pams' to an empty value and restarted server.
When I try to login I got error with message "Login attempt failed." Screenshoot: http://pasteboard.co/1DIF6RnV.png
This is log from console:
####### LdapPAM: authenticate with local password: fail
####### LdapPAM: authenticate against directory server: success
####### LdapPAM: authenticate success (usr=milanr)
After click on OK button on Error pop up form I got another one log in console:
####### LdapPAM: authenticate notoken (result=AuthenticationResult(false, null, false)
I checked groovy script and this is suspicious part:
User u = authenticate(credentials.getUsername(), credentials.getPassword());
if(null != u){
System.out.println("####### LdapPAM: authenticate success (usr=" + u.getUsername() + ")")
return new AuthenticationResult(true, u, true);
}
Obviously, LDAP auth is passing ...
Any help would be greatly appreciated
Milan
Last edited by milanr (2015-07-01 19:24:45)
Offline
Hi Milan,
this might not be a problem with the LDAP authentication at all:
did you verify that the imported users have the necessary permissions to log in?
Check Admin > Permission management > ReportServer Access
Cheers,
Thorsten
OMG I should take a break after 15 working hours
I totally forgot to double check this. Sorry for bothering you...
I have to research better user and permission management in order to organize reports ...
Thank you so much Thorsten!
Milan
Offline
Glad you got it working.
No worries, we've all been there!
Cheers,
Thorsten