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 » Using Security Profiles with LDAP Authentication

Post new topic  Reply to topic
 Using Security Profiles with LDAP Authentication « View previous topic :: View next topic » 
Author Message
GeneRK4
PostPosted: Mon Aug 18, 2014 5:34 pm    Post subject: Using Security Profiles with LDAP Authentication Reply with quote

Master

Joined: 08 Jul 2013
Posts: 220

I am getting below error while using Security profile.

The security profile ''LDAPSP'' has specified ''LDAP'' for security processing. A message has entered a node that uses this profile and the provider is being invoked.
No action is required.
2014-08-16 21:49:27.778162 2596 UserTrace BIP2728E: Failed to search LDAP for user ''ldap://localhost:10389'' with user name ''anonymous'' for binding. The following explanation was returned: 'javax.naming.NoPermissionException: [LDAP: error code 50 - failed on search operation: Anonymous binds have been disabled!]'
An attempt was made to get the full Distinguished Name of ''ldap://localhost:10389'', using a bind with user name ''anonymous''.
Ensure that the user name supplied has permission to look up the given user. If necessary use mqsisetdbparms to specify a different user name and password to bind to the server.


=========================================
I executed
"mqsisetdbparms RadBRK1 -n ldap::localhost -u "uid=admin,ou=system" -p pass" now and still more errors are coming up,


2014-08-16 23:29:02.171981 12648 UserTrace BIP2735I: Identity has been passed to the ''LDAP'' security provider as instructed by security profile ''LDAPSP''. The following operations are requested: ''authentication'', '''', ''authorization''.
The security profile ''LDAPSP'' has specified ''LDAP'' for security processing. A message has entered a node that uses this profile and the provider is being invoked.
No action is required.
2014-08-16 23:29:02.308200 12648 UserTrace BIP2721E: Failed to bind to the LDAP server ''ldap://localhost:10389'' with user name ''uid=admin,ou=system''. Possible explanation: 'javax.naming.AuthenticationException: [LDAP: error code 49 - Bind failed: null]'
Ensure that the server address is correct.
Use mqsisetdbparms to check that the user name and password are valid.
If the user name is "anonymous", ensure that the LDAP server accepts anonymous binds.
2014-08-16 23:29:02.311482 12648 UserTrace BIP3145I: Message propagated to failure terminal; node 'SecurityTest.HTTP Input'.
Node 'SecurityTest.HTTP Input' has received an HTTP request message, but an error occurred before the message could be propagated to the output terminal. The message broker is propagating the message to the failure terminal of the node.
Examine the other messages and the message flow to determine why the message is not being received as expected. Correct this situation if possible. Perform any local error recovery processing required.
2014-08-16 23:29:02.311591 12648 SecurityException BIP2702W: The identity token type ''usernameAndPassword'', issued by ''Apache-HttpClient/4.1.1 (java 1.5)'', failed authentication with security provider ''LDAP''. (For a 'username' token type, the token is: ''wmbuser1''.)
The security provider specified failed to authenticate the provided identity token.
Ensure that the provided identity token is valid and that the specified security provider is configured to authenticate the specified identity token. If the security provider is shown as 'Cached', the authentication result is now being returned from the broker security cache. You can use the 'mqsireloadsecurity' command to clear the broker security cache. Check your security provider logs for information about why the identity token could not be authenticated.

=========================================

In LDAP ,I have checked the bind DN or user is,
uid=admin,ou=system
Password is correct as I have verified.

In SOAPUI tool,while trying to send Authentication headers for a message,
I have giving wmbuser1 which is already present LDAP.

Please let me know what I am missing here..
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 19, 2014 4:48 am    Post subject: Reply with quote

Grand High Poobah

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

It seems that your ldap authentication is failing (wrong password set in mqsisetdbparms, or special chars not escaped properly etc...).
Code:
2014-08-16 23:29:02.308200 12648 UserTrace BIP2721E: Failed to bind to the LDAP server ''ldap://localhost:10389'' with user name ''uid=admin,ou=system''. Possible explanation: 'javax.naming.AuthenticationException: [LDAP: error code 49 - Bind failed: null]'
Ensure that the server address is correct.
Use mqsisetdbparms to check that the user name and password are valid.

Check first that the ldap user can access the ldap correctly.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
GeneRK4
PostPosted: Wed Aug 20, 2014 5:49 pm    Post subject: Reply with quote

Master

Joined: 08 Jul 2013
Posts: 220

Thank u..I reverified the password for the binding userid.It showed I have used wrong password.Now,everything is working fine,
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 » Using Security Profiles with LDAP Authentication
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.