Artifactory Crowd Integration: Login "fails"

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Artifactory Crowd Integration: Login "fails"

huof
Hi all,
I set up a new Artifactory Pro, Version 2.5.1.
I logged in as admin an configured the Crowd Integration with our company's Crowd instance.
I tested the conection and it says "successful".
When I want to login no error occurs but I keep staying on the login screen. When I enter a wrong password it says that the login credentials are invalid.
The access.log also says [ACCEPTED LOGIN]  for myusernamefromcrowd
So for me this means authentication works as expected but I somehow do not get into Artifactory.
When I afterwards enter as admin again the user is created under Users in Artifactory and it says "last login: never".

Does anybody have a hint where my error could lay?

Best regards,
Florian
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Artifactory Crowd Integration: Login "fails"

Noam Y. Tenne
Hi Florian,

What version of Crowd do you use?
Are these pure Crowd users or does Crowd proxy another realm like LDAP?
Do you see any error messages in Artifactory's log ($ARTIFACTORY_HOME/logs/artifactory.log)?
Perhaps this is caused by some residual authentication cookie in your browser; have you tried clearing them?

-Noam

On Wed, Feb 15, 2012 at 9:45 PM, huof <[hidden email]> wrote:
Hi all,
I set up a new Artifactory Pro, Version 2.5.1.
I logged in as admin an configured the Crowd Integration with our company's
Crowd instance.
I tested the conection and it says "successful".
When I want to login no error occurs but I keep staying on the login screen.
When I enter a wrong password it says that the login credentials are
invalid.
The access.log also says [ACCEPTED LOGIN]  for myusernamefromcrowd
So for me this means authentication works as expected but I somehow do not
get into Artifactory.
When I afterwards enter as admin again the user is created under Users in
Artifactory and it says "last login: never".

Does anybody have a hint where my error could lay?

Best regards,
Florian


--
View this message in context: http://forums.jfrog.org/Artifactory-Crowd-Integration-Login-fails-tp7288743p7288743.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Artifactory Crowd Integration: Login "fails"

huof
Hi Noam,

Thanks for your reply.
We use Crowd version 2.4.0.
The users I try to login are in a "Delegated Authentication Directory" that delegates authentication to an LDAP (Active Directory).
artifactory.log does not state any error message. There are no messages on the login-failure.
I also cleaned browser data but with no effect.

I also tried with a user created in an crowd-local directory. Nothing changes, it still does not work.

In the "Crowd Integration menu" of artifactory I pressed the "Test" button and it says that the communication with crowd is successfull.

Any ideas?

Regards,
Florian
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Artifactory Crowd Integration: Login "fails"

Noam Y. Tenne
Florian,

Since there are no errors and the access log clearly shows a successful authentication, this is most likely a case of authentication headers/cookies being omitted somewhere along the request/response chain.
Are you working through any sort of proxy/firewall?
Perhaps you're accessing Artifactory through an HTTP sever that performs some form of forwarding/rewriting (like the different HTTPd mods - ajp, rewrite and so on)?
Lowering the log level to debug of these 3 classes in our logback.xml file might also reveal more information should any errors occur:
  • org.artifactory.addon.sso.SsoAddonImpl 
  • org.artifactory.addon.sso.ArtifactoryCrowdClientImpl
  • org.artifactory.addon.sso.auth.crowd.CrowdSsoAuthenticationFilter
HTH,
Noam

On Thu, Feb 16, 2012 at 9:16 AM, huof <[hidden email]> wrote:
Hi Noam,

Thanks for your reply.
We use Crowd version 2.4.0.
The users I try to login are in a "Delegated Authentication Directory" that
delegates authentication to an LDAP (Active Directory).
artifactory.log does not state any error message. There are no messages on
the login-failure.
I also cleaned browser data but with no effect.

I also tried with a user created in an crowd-local directory. Nothing
changes, it still does not work.

In the "Crowd Integration menu" of artifactory I pressed the "Test" button
and it says that the communication with crowd is successfull.

Any ideas?

Regards,
Florian

--
View this message in context: http://forums.jfrog.org/Artifactory-Crowd-Integration-Login-fails-tp7288743p7290193.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Artifactory Crowd Integration: Login "fails"

huof
This post was updated on .
Hi,

Since I started up the server newly today it works as expected.
Strange.

Thanks for your help.

Regards,
Florian
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Artifactory Crowd Integration: Login "fails"

Noam Y. Tenne
Strange indeed, thanks for keeping us posted.

-Noam

On Thu, Feb 16, 2012 at 2:00 PM, huof <[hidden email]> wrote:
Hi Yoav,

Since I started up the server newly today it works as expected.
Strange.

Thanks for your help.

Regards,
Florian

--
View this message in context: http://forums.jfrog.org/Artifactory-Crowd-Integration-Login-fails-tp7288743p7290755.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Loading...