phani Posted December 13, 2006 Share Posted December 13, 2006 If anyone has worked successfully with jasper authenticated with ldap, can you help me with the details? I am new and working for the first time on jasper and AD. If possible please send the configuration file (xml) to reportscreator@gmail.com ThxPhani Link to comment Share on other sites More sharing options...
MohanRao Posted December 13, 2006 Share Posted December 13, 2006 Hi, Please see the documentation available on <a href="http://www.acegisecurity.org">AcegiSecurity</a> This might help you. Even I am also having a problem. Mohan. Link to comment Share on other sites More sharing options...
swood Posted December 13, 2006 Share Posted December 13, 2006 Have you tried this: http://jasperforge.org/sf/wiki/do/viewPage/projects.jasperintelligence/wiki/AuthenticationConfiguration ShermanJasperSoft Link to comment Share on other sites More sharing options...
phani Posted December 14, 2006 Author Share Posted December 14, 2006 Hi, Sherman, Thanks for the immediate reply. I have tried this and made the changes accordingly. I am getting the error: Authentication event AuthenticationFailureBadCredentialsEvent: user1jasper; details: org.acegisecurity.ui.WebAuthenticationDetails@ef30: RemoteIpAddress: 192.168.20.72; SessionId: 590BF0BECA19898AB711FB52B7F669A5; exception: Bad credentials; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 531, vece] Do I need to have admin privileges for the username on the Active Directory I am trying to login with to access Jasper? Thanks for the immediate replyPhaniPost edited by: phani, at: 2006/12/14 06:05 Link to comment Share on other sites More sharing options...
swood Posted December 17, 2006 Share Posted December 17, 2006 Have a look at this thread on the Acegi forum: http://forum.springframework.org/showthread.php?t=32056 ShermanJasperSoft Link to comment Share on other sites More sharing options...
MohanRao Posted December 23, 2006 Share Posted December 23, 2006 Hi Sherman, I am able to successfully authenticate Jasper to Active Directory through ldap authentication. But there are still some uncleared doubts. 1. In my AD, I have the users setup like this ... dn: cn=Mohan Rao, ou=Users, dc=myCompany, dc=localcn: Mohan RaosAMAccountName: mohan (the name with which I login to AD)objectClass=User When I create the user 'mohan' in Jasper, it is not getting identified in AD. But when I create the user as 'Mohan Rao' in Jasper, then it is being identified and getting authenticated. So what ever name is given as 'cn' is being searched in AD. Right? So, if I want the username 'mohan' to get authenticated to AD, what changes do I need to do? I have tried with sAMAccountName={0} but still the same. Please give me some suggestion ... Thanks,Mohan Link to comment Share on other sites More sharing options...
swood Posted December 27, 2006 Share Posted December 27, 2006 Show your Acegi security configuration and an example of the tracing output you get when logging in. ShermanJasperSoft Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now