#1 2015-07-01 19:20:31

milanr
Member
From: Belgrade
Registered: 2015-05-15

LDAP login issue / Login attempt failed

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

#2 2015-07-02 11:31:07

Thorsten J. Krause
Guest

Re: LDAP login issue / Login attempt failed

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

#3 2015-07-02 12:14:14

milanr
Member
From: Belgrade
Registered: 2015-05-15

Re: LDAP login issue / Login attempt failed

OMG smile I should take a break after 15 working hours big_smile
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

#4 2015-07-02 12:31:11

Thorsten J. Krause
Guest

Re: LDAP login issue / Login attempt failed

Glad you got it working.
No worries, we've all been there!

Cheers,
Thorsten

Board footer

Powered by FluxBB