ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB 7.0 with Tivoli Directory Server - LDAP

Post new topic  Reply to topic
 WMB 7.0 with Tivoli Directory Server - LDAP « View previous topic :: View next topic » 
Author Message
arcgang
PostPosted: Wed Jun 22, 2011 9:25 am    Post subject: WMB 7.0 with Tivoli Directory Server - LDAP Reply with quote

Novice

Joined: 02 May 2007
Posts: 16

Hi,

I am trying to have WS-Security with the SOAP node(s) of WMB. I have set up the Tivoli Directory Server LDAP and have created the security profile (SP). I have also associated the SP and the provider policy binding etc in the bar file. I have followed the steps per the following link :


http://www.ibm.com/developerworks/websphere/library/techarticles/1008_fan/1008_fan.html?ca=drs-

Issue : When I test with the wsse credentials in the soap-header the credentials have no effect. Irrespecitve of username/pwd, the webservice always returns successful response. I have enabled service trace and not able to see WMB bind with LDAP as well.


Can anyone throw some light on this. Is there any specific way I can verify that the WMB-LDAP connectivity is in place ?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Jun 22, 2011 9:51 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

You may like to post your config: version/support pak level. Post the flow sequence, I assume your flow starts with SOAPInput? Post a screenshot of the client, so we can see if you are using http or https . More information would help us help you. Also, does the client successfully authenticate the server? Post the WMB key signature from the keystore.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Jun 22, 2011 9:54 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Can you use LDAP from the environment of the broker's service user?
Did you bounce the broker since?

If you can't use LDAP from the broker's service user what makes you think the broker could use it?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
arcgang
PostPosted: Wed Jun 22, 2011 10:41 am    Post subject: Reply with quote

Novice

Joined: 02 May 2007
Posts: 16

Thanks to both of you for replying.

@lancelotlinc :

The MB is at Version : 7001 & Build Level : S700-FP01. The Tivoli Dir Server is at V6.1

Yes I am using the SOAPInput node and using HTTP only. I have followed the example per the article I had posted earlier ( in the bar file. I have followed the steps per the following link :
http://www.ibm.com/developerworks/websphere/library/techarticles/1008_fan/1008_fan.html?ca=drs-

The screenshot of the flow :


I am using LDAP Browser 4.5 as the client to connect to the LDAP server. Here is the screenshot of the client depicting successful login to the server.

http://imageshack.us/photo/my-images/808/ldap.gif/

Screenshot of the broker security profile :

http://imageshack.us/photo/my-images/847/73099746.jpg/

Screenshot of the bar file config :
http://imageshack.us/photo/my-images/269/barfile.jpg/

Screenshot of the Test client (Request) : The incorrect user id is marked.
http://imageshack.us/photo/my-images/94/testbcj.jpg/

Screenshot of the Response - This always returns successful response irrespective of valid/invalid credentials.

http://imageshack.us/photo/my-images/863/successresponse.jpg/


@fjb_saper : The WMB and the TDS co-exist in the same machine and I am able to use both independently. Have bounced the broker after all the neccessary configurations. It is just that how I can make out whether WMB is really binding to the LDAP. Are there any sanity checks/ commands that I can run to ensure that everything is in place ?[/b]


Last edited by arcgang on Wed Jun 22, 2011 10:51 am; edited 1 time in total
Back to top
View user's profile Send private message
arcgang
PostPosted: Wed Jun 22, 2011 10:46 am    Post subject: Reply with quote

Novice

Joined: 02 May 2007
Posts: 16

Except for one the image links are not showing up in the post. The Img tags are not working. Kindly click on the links to view the images.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 22, 2011 10:50 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

If the broker is to use LDAP ( and run under ldap) have you verified whether you need to run the mqsichangebroker command with the ldap flags?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Wed Jun 22, 2011 10:52 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Endpoint URL is HTTP not HTTPS. Therefore, no login is taking place. This can be seen in your screenshot.

http://imageshack.us/photo/my-images/94/testbcj.jpg/

Switch to HTTPS and then report back your results.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Jun 22, 2011 10:56 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lancelotlinc wrote:
Endpoint URL is HTTP not HTTPS. Therefore, no login is taking place.


I'm not sure I agree with your police work there.

The login is being handled by passing a WS-Security token in the SOAP content, not by validating the client side certificate.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Jun 22, 2011 11:02 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

mqjeff wrote:
lancelotlinc wrote:
Endpoint URL is HTTP not HTTPS. Therefore, no login is taking place.


I'm not sure I agree with your police work there.

The login is being handled by passing a WS-Security token in the SOAP content, not by validating the client side certificate.


You may be correct. I think I would need to tinker with it to check it for sure.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
arcgang
PostPosted: Wed Jun 22, 2011 11:04 am    Post subject: Reply with quote

Novice

Joined: 02 May 2007
Posts: 16

@fjb_saper

No, I have not used the mqsichangebroker command with ldap flags. Is it really necessary ?

Do you have a sample depicting the setting of the flags LDAPPrincipal and LDAPCredentials ?

Thanks
Back to top
View user's profile Send private message
arcgang
PostPosted: Wed Jun 22, 2011 11:09 am    Post subject: Reply with quote

Novice

Joined: 02 May 2007
Posts: 16

Btw, I have the checkbox "Allow anonymous connections" checked under TDS - Server Administration->Manager Server connections
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 22, 2011 11:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

arcgang wrote:
Btw, I have the checkbox "Allow anonymous connections" checked under TDS - Server Administration->Manager Server connections


So maybe you should disable that and see what happens.
Back to top
View user's profile Send private message
arcgang
PostPosted: Wed Jun 22, 2011 1:32 pm    Post subject: Reply with quote

Novice

Joined: 02 May 2007
Posts: 16

@mqjeff - Switching it off does not help.

I wonder if there would be a bind information written on to a log to indicate that the WMB - LDAP connection is established.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 22, 2011 1:46 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Certainly there would be information in a Broker service trace, but it might be a bit ... confusing... to try and read that.

I would hope that Tivoli LDAP would make it relatively easy to log authentication requests and determine if they have occurred or what has gone wrong - but I've not used this program.
Back to top
View user's profile Send private message
arcgang
PostPosted: Wed Jun 22, 2011 3:35 pm    Post subject: Reply with quote

Novice

Joined: 02 May 2007
Posts: 16

I am able to connect to Tivoli LDAP from WAS though..

Here is the screenshot

http://imageshack.us/photo/my-images/16/wasldap.png
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB 7.0 with Tivoli Directory Server - LDAP
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.