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 » mqsisetdbparms with passsword containing special characters

Post new topic  Reply to topic
 mqsisetdbparms with passsword containing special characters « View previous topic :: View next topic » 
Author Message
EternalLearner
PostPosted: Fri Jul 20, 2012 1:32 am    Post subject: mqsisetdbparms with passsword containing special characters Reply with quote

Novice

Joined: 20 Jul 2012
Posts: 16

Hi,

I'm trying to connect to an ftp server from File Input Node in Broker 8.I did the following steps.

1. created an identity with mqsisetdbparms command. the passsword looks like this abc12d::er45y)d

2. Created a configurable service.

3. restarted the broker.

How ever getting authorisation error even after trying to put password in single quote and using escape character. i.e ' abc12d\:\:er45y\)d'. Tried different combinations with escape characters and also tried without any escape character or single quote. But nothing seems to be working.

The errors I'm getting are

File node ''File Input'' in message flow ''Test_FTP'' cannot log in to remote ''FTP'' server ''10.1.1.1'' with user name ''abcd''. Reason: ''530 Sorry, Authentication failed.''

File node ''File Input'' in message flow ''Test_FTP'' cannot log in to remote ''FTP'' server ''10.1.1.1'' with user name ''abcd''. Reason: ''PASS =>response: 232 User logged in, authorized by security data exchange''.

Can you please help.

Thanks.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Jul 20, 2012 2:00 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

What platform is this?

Did you try enclosing the pwd in "" (double quotes)?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
EternalLearner
PostPosted: Fri Jul 20, 2012 2:10 am    Post subject: Reply with quote

Novice

Joined: 20 Jul 2012
Posts: 16

Hi,

This is Unix.

I tasted the password as it is in a windows ftp server and it worked.

Yes I tried enclosing it in double quotes and having same error as before.

File node ''File Input'' in message flow ''Test_FTP'' cannot log in to remote ''FTP'' server ''10.1.1.1'' with user name ''abcd''. Reason: ''PASS =>response: 232 User logged in, authorized by security data exchange''.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 20, 2012 5:02 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

You will need to specify mqsisetdbparms without a password, i.e. no -p parameter. You'll then get a prompt "Enter password:". At this you can enter the password, special characters and all. You'll then need to re-enter it for verification.

You'd thnink enclosing it in quotes would work. L2 thought (when I raised the PMR) that enclosing it would work. You don't mention which Unix but mine still got confused by the special characters & (in my case) truncated the supplied password at the first special character.

As any added bonus (!) this means I can look virtuous by not having passwords in my set up scripts....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
EternalLearner
PostPosted: Fri Jul 20, 2012 6:00 am    Post subject: Reply with quote

Novice

Joined: 20 Jul 2012
Posts: 16

Hi,

Tried it but still getting same error. . I put the password as it is without any escape character or anything.

Just to know how does it make any difference to put -p parameter in mqsisetdbparms or not putting it and then entering it at the command prompt.


Thanks.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jul 20, 2012 6:31 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

EternalLearner wrote:
Just to know how does it make any difference to put -p parameter in mqsisetdbparms or not putting it and then entering it at the command prompt.

If you use the -p parameter, the value of the password is processed first by the shell and then by the mqsisetdbparms command.

If you don't use the -p parameter, then it is just the mqsisetdbparms command that reads from the input you enter.
Back to top
View user's profile Send private message
EternalLearner
PostPosted: Fri Jul 20, 2012 6:44 am    Post subject: Reply with quote

Novice

Joined: 20 Jul 2012
Posts: 16

Ok..Thanks for letting me know.

But in this case the the broker is running on windows and trying to connect to the ftp server which is in unix(should be AIX).

So i guess it didn't make any difference in either case.I got the same error in both cases which I think confirms the same.

Thanks.
Back to top
View user's profile Send private message
EternalLearner
PostPosted: Fri Jul 20, 2012 7:17 am    Post subject: Reply with quote

Novice

Joined: 20 Jul 2012
Posts: 16

Hi just to add the ftp server is Linux and not AIX.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jul 20, 2012 8:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Can you execute a manual ftp to the server from the broker machine?
Back to top
View user's profile Send private message
EternalLearner
PostPosted: Fri Jul 20, 2012 9:28 am    Post subject: Reply with quote

Novice

Joined: 20 Jul 2012
Posts: 16

Yes. It could do it successfully.


Thanks.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jul 20, 2012 10:02 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

PMR time.

Take a service trace during invocation of the flow.
Back to top
View user's profile Send private message
kevinobyrne
PostPosted: Tue Jul 24, 2012 12:36 am    Post subject: Reply with quote

Voyager

Joined: 17 Jul 2007
Posts: 83
Location: Ireland

Is the password very long?

I encountered an issue a few years ago in 6.1 where a password that was greater than 32 or 64 characters (can't remember exactly) was being truncated. I figured this out by trial and error and ultimately got the admin of the ftp server to give us a new, shorter password. I'm sure I raised a PMR at the time.
Back to top
View user's profile Send private message
EternalLearner
PostPosted: Wed Jul 25, 2012 5:01 am    Post subject: Reply with quote

Novice

Joined: 20 Jul 2012
Posts: 16

No the passsword is 15 character long and it is like 'abc12d::er45y)d' .

I think MB 5.1 had the problem of not accepting a password of more than 12 characters.But as ecxpected resolved in subsequent versions.

I've checked this password in windows ftp server and it can connect.Only problem is while connecting from Windows Broker machine to Unix(Linux) FTP server with special character in password.

I was expecting somebody to come across similar problem but now raised a PMR.

Regards.
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 » mqsisetdbparms with passsword containing special characters
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.