473,586 Members | 2,546 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Becoming URGENT password invalid

My client is bugging me for a solution to this problem!

I am still getting "Password Invalid" with all new users I define on my
linux box. I have tried all the suggestions made here and they made
exactly no difference. I have server authorization set. I do have
connect authority for the new user. I have all the same groups for the
new user as the one that works. I have tried simpler passwords as well
as the password of a working account. I can login to the server with SSH
using the password I assigned. It fails from the Client and Server
command lines with sql state 08001.

I am at my wits end. What little hair I had is now pulled out. Where do
I go from here? I tried a sniffer trace, but the traffic I'm interested
in is encrypted.

Any help, suggestions, rtfm pointers, etc. will be gratefully accepted.
Jun 8 '06 #1
11 7227
I was in your exact situation once -- users could login, but couldn't
connect to the database. We were using NIS and we had to "push" the
user IDs to the server - to make it local. If this applies to you,
you may want to give it a shot if it's an option.

Dunno if this works for you, but that's my $0.02.

Keith Ponnapalli
adv_dba at yahoo dot com
IBM Certified Advanced Database Administrator - DB2 UDB V8.1 for Linux,
UNIX, and Windows
INFORMIX Certified Database Administrator

Bob Stearns wrote:
My client is bugging me for a solution to this problem!

I am still getting "Password Invalid" with all new users I define on my
linux box. I have tried all the suggestions made here and they made
exactly no difference. I have server authorization set. I do have
connect authority for the new user. I have all the same groups for the
new user as the one that works. I have tried simpler passwords as well
as the password of a working account. I can login to the server with SSH
using the password I assigned. It fails from the Client and Server
command lines with sql state 08001.

I am at my wits end. What little hair I had is now pulled out. Where do
I go from here? I tried a sniffer trace, but the traffic I'm interested
in is encrypted.

Any help, suggestions, rtfm pointers, etc. will be gratefully accepted.


Jun 8 '06 #2
Keith wrote:
I was in your exact situation once -- users could login, but couldn't
connect to the database. We were using NIS and we had to "push" the
user IDs to the server - to make it local. If this applies to you,
you may want to give it a shot if it's an option.

Dunno if this works for you, but that's my $0.02.

Keith Ponnapalli
adv_dba at yahoo dot com
IBM Certified Advanced Database Administrator - DB2 UDB V8.1 for Linux,
UNIX, and Windows
INFORMIX Certified Database Administrator

Bob Stearns wrote:
My client is bugging me for a solution to this problem!

I am still getting "Password Invalid" with all new users I define on my
linux box. I have tried all the suggestions made here and they made
exactly no difference. I have server authorization set. I do have
connect authority for the new user. I have all the same groups for the
new user as the one that works. I have tried simpler passwords as well
as the password of a working account. I can login to the server with SSH
using the password I assigned. It fails from the Client and Server
command lines with sql state 08001.

I am at my wits end. What little hair I had is now pulled out. Where do
I go from here? I tried a sniffer trace, but the traffic I'm interested
in is encrypted.

Any help, suggestions, rtfm pointers, etc. will be gratefully accepted.


We never have had any NIS on these servers. Thanks for replying,
Jun 8 '06 #3
Bob Stearns wrote:
My client is bugging me for a solution to this problem!

I am still getting "Password Invalid" with all new users I define on my
linux box. I have tried all the suggestions made here and they made
exactly no difference. I have server authorization set. I do have
connect authority for the new user. I have all the same groups for the
new user as the one that works. I have tried simpler passwords as well
as the password of a working account. I can login to the server with SSH
using the password I assigned. It fails from the Client and Server
command lines with sql state 08001.

I am at my wits end. What little hair I had is now pulled out. Where do
I go from here? I tried a sniffer trace, but the traffic I'm interested
in is encrypted.

Any help, suggestions, rtfm pointers, etc. will be gratefully accepted.


Have you set the diaglevel to 4 and then looked at the db2diag output?
There might be something interesting there regarding the connection.
Additionally, collect a trace and see if something happens there.

Have you logged in as one such problematic user at the database server and
changed the password manually? Maybe you are forced to change the password
and ssh somehow ignores that, still logging you on?

Are the users actually allowed to connect from a remote machine?

Maybe the failed-login count is not set to 0 (zero) for some reason? What
is the limit on the failed-login count?

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Jun 9 '06 #4
Knut Stolze wrote:
Bob Stearns wrote:

My client is bugging me for a solution to this problem!

I am still getting "Password Invalid" with all new users I define on my
linux box. I have tried all the suggestions made here and they made
exactly no difference. I have server authorization set. I do have
connect authority for the new user. I have all the same groups for the
new user as the one that works. I have tried simpler passwords as well
as the password of a working account. I can login to the server with SSH
using the password I assigned. It fails from the Client and Server
command lines with sql state 08001.

I am at my wits end. What little hair I had is now pulled out. Where do
I go from here? I tried a sniffer trace, but the traffic I'm interested
in is encrypted.

Any help, suggestions, rtfm pointers, etc. will be gratefully accepted.

Have you set the diaglevel to 4 and then looked at the db2diag output?
There might be something interesting there regarding the connection.
Additionally, collect a trace and see if something happens there.

Have you logged in as one such problematic user at the database server and
changed the password manually? Maybe you are forced to change the password
and ssh somehow ignores that, still logging you on?

Are the users actually allowed to connect from a remote machine?

Maybe the failed-login count is not set to 0 (zero) for some reason? What
is the limit on the failed-login count?

Thanks for the reply.

Diaglevel 4 gave me exactly one message of relevance:
check password failed with rc = -2146500502
That's FFFFFFFF800F006 A in 64 bit hex, but I wouldn't know where to look
it up. All the other messages at or near the same time had to do with
loading a security plugin.

I thought I had tried it, but I redid the experiment and obtained the
same result.

User is can, new user U00001 can not, even though SSH login works for both.

Where is the failed login count you are speaking of? Is it a linux or
db2 property?
Jun 9 '06 #5
Bob Stearns wrote:
Diaglevel 4 gave me exactly one message of relevance:
check password failed with rc = -2146500502
That's FFFFFFFF800F006 A in 64 bit hex, but I wouldn't know where to look
it up.
This ZRC maps to SQL30082: Security processing failed with reason <whatever>
All the other messages at or near the same time had to do with
loading a security plugin.
DB2 uses so-called "security plugins" for the authentication. So what are
all those other messages? They might be very relevant!
Where is the failed login count you are speaking of? Is it a linux or
db2 property?


I know that AIX has this. I'm not sure about Linux. It is an operating
system thing.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Jun 9 '06 #6
Knut Stolze wrote:
Bob Stearns wrote:

Diaglevel 4 gave me exactly one message of relevance:
check password failed with rc = -2146500502
That's FFFFFFFF800F006 A in 64 bit hex, but I wouldn't know where to look
it up.

This ZRC maps to SQL30082: Security processing failed with reason <whatever>
All the other messages at or near the same time had to do with
loading a security plugin.

DB2 uses so-called "security plugins" for the authentication. So what are
all those other messages? They might be very relevant!

Where is the failed login count you are speaking of? Is it a linux or
db2 property?

I know that AIX has this. I'm not sure about Linux. It is an operating
system thing.


You may get this twice, my news reader stuttered.

As far as I know, linux (PAM security) does not have this.

While I know you are knowledgeable, how did you look up the code (what
does ZRC stand for)? Via books (online?) or via some arcane, to me at
least, use of the client or server clp?

Here is the whole db2diag from level 4 on to level 4 off:

2006-06-09-16.14.10.936797-240 I278144681G287 LEVEL: Event
PID : 20057 TID : 3054567552 PROC : db2flacc
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, config/install, sqlfLogUpdateCf gParam, probe:30
CHANGE : CFG DBM: "Diaglevel" From: "3" To: "4"

2006-06-09-16.14.33.834104-240 I278144969G258 LEVEL: Severe
PID : 19498 TID : 3007191552
FUNCTION: DB2 Common, Security, Users and Groups, secLogMessage, probe:20
DATA #1 : String, 44 bytes
check password failed with rc = -2146500502
2006-06-09-16.14.59.995382-240 I278145228G316 LEVEL: Info
PID : 20082 TID : 3054567552
FUNCTION: DB2 Common, Security, Users and Groups,
secLoadClientAu thPlugin, probe:10
DATA #1 : String, 94 bytes
Loaded plugin library
/db2home/db2inst1/sqllib/security32/plugin/IBM/client/IBMOSauthclient .so

2006-06-09-16.14.59.995559-240 I278145545G249 LEVEL: Info
PID : 20082 TID : 3054567552
FUNCTION: DB2 Common, Security, Users and Groups, secLogMessage, probe:20
DATA #1 : String, 37 bytes
db2secClientAut hPluginInit successful

2006-06-09-16.14.59.995882-240 I278145795G306 LEVEL: Info
PID : 20082 TID : 3054567552
2006-06-09-16.14.10.936797-240 I278144681G287 LEVEL: Event
PID : 20057 TID : 3054567552 PROC : db2flacc
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, config/install, sqlfLogUpdateCf gParam, probe:30
CHANGE : CFG DBM: "Diaglevel" From: "3" To: "4"

2006-06-09-16.14.33.834104-240 I278144969G258 LEVEL: Severe
PID : 19498 TID : 3007191552
FUNCTION: DB2 Common, Security, Users and Groups, secLogMessage, probe:20
DATA #1 : String, 44 bytes
check password failed with rc = -2146500502
2006-06-09-16.14.59.995382-240 I278145228G316 LEVEL: Info
PID : 20082 TID : 3054567552
FUNCTION: DB2 Common, Security, Users and Groups,
secLoadClientAu thPlugin, probe:10
DATA #1 : String, 94 bytes
Loaded plugin library
/db2home/db2inst1/sqllib/security32/plugin/IBM/client/IBMOSauthclient .so

2006-06-09-16.14.59.995559-240 I278145545G249 LEVEL: Info
PID : 20082 TID : 3054567552
FUNCTION: DB2 Common, Security, Users and Groups, secLogMessage, probe:20
DATA #1 : String, 37 bytes
db2secClientAut hPluginInit successful

2006-06-09-16.14.59.995882-240 I278145795G306 LEVEL: Info
PID : 20082 TID : 3054567552

Jun 9 '06 #7
Ian
Bob Stearns wrote:
My client is bugging me for a solution to this problem!

I am still getting "Password Invalid" with all new users I define on my
linux box. I have tried all the suggestions made here and they made
exactly no difference. I have server authorization set. I do have
connect authority for the new user. I have all the same groups for the
new user as the one that works. I have tried simpler passwords as well
as the password of a working account. I can login to the server with SSH
using the password I assigned. It fails from the Client and Server
command lines with sql state 08001.

I am at my wits end. What little hair I had is now pulled out. Where do
I go from here? I tried a sniffer trace, but the traffic I'm interested
in is encrypted.

Any help, suggestions, rtfm pointers, etc. will be gratefully accepted.

If this is urgent, open a PMR. Don't post the same issue to this group
under 10 different threads.

Did you try using db2iupdt as I suggested a few days ago?

Are you on AIX? There is a bug related to a memory leak in the db2ckpw
process, and if you reach the limit you will experience authentication
errors (you have to cycle DB2 to resolve this issue).
Jun 10 '06 #8
Bob Stearns wrote:
While I know you are knowledgeable, how did you look up the code (what
does ZRC stand for)? Via books (online?) or via some arcane, to me at
least, use of the client or server clp?
Nothing arcane. ;-) There is a tool available to DB2 developers for just
such purposes.
2006-06-09-16.14.59.995382-240 I278145228G316 LEVEL: Info
PID : 20082 TID : 3054567552
FUNCTION: DB2 Common, Security, Users and Groups,
secLoadClientAu thPlugin, probe:10
DATA #1 : String, 94 bytes
Loaded plugin library
/db2home/db2inst1/sqllib/security32/plugin/IBM/client/IBMOSauthclient .so
This is exactly the security plug-in responsible for the authentication
based on the operating system's facilities.
2006-06-09-16.14.59.995559-240 I278145545G249 LEVEL: Info
PID : 20082 TID : 3054567552
FUNCTION: DB2 Common, Security, Users and Groups, secLogMessage, probe:20
DATA #1 : String, 37 bytes
db2secClientAut hPluginInit successful

2006-06-09-16.14.33.834104-240 I278144969G258 LEVEL: Severe
PID : 19498 TID : 3007191552
FUNCTION: DB2 Common, Security, Users and Groups, secLogMessage, probe:20
DATA #1 : String, 44 bytes
check password failed with rc = -2146500502


Pity... not very helpful what the log files provide. I have no immediate
idea what might be amiss now.

So we'll have to try to tackle this thing in another way (unless you have a
support contract and can simply call IBM support and open a PMR). You
could collect a db2 trace and send this to me. I'm willing to have a look
- no promises, though! To gather a trace, just do this:

on the server:
$ db2trc on -f trc

on the client:
$ db2 connect to ... user ...

on the server
$ db2trc off
$ db2trc flw trc flw
$ db2trc fmt trc fmt

Then pack (gzip or whatever) the "flw" and "fmt" files together and just
send them.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Jun 12 '06 #9
Ian wrote:
Are you on AIX? There is a bug related to a memory leak in the db2ckpw
process, and if you reach the limit you will experience authentication
errors (you have to cycle DB2 to resolve this issue).


Not on AIX as far as I understood - or Bob would have known about the login
count. ;-)

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Jun 12 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
4011
by: Kumar | last post by:
Need urgent help.... I wanted update one table which has a primary key and also has few dependents. I dropped Primary key before update sothat it won't affect the dependent tables. After dropping promary key, I could see many packages were invalid in syscat.packages (VALID column).
16
2911
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In: http://www.mywebsite.org/WebResource.axd?d=5WvLfhnJp5Lc8WhQSD4gdA2&t=632614619884218750 -------------------------------------------------------------------------------- System.Security.Cryptography.CryptographicException:...
6
2455
by: varkey.mathew | last post by:
Dear all, Bear with me, a poor newbie(atleast in AD).. I have to authenticate a user ID and password for a user as a valid Active Directory user or not. I have created the IsAuthenticated function exactly as outlined in the below link. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT02.asp
14
1828
by: Erik | last post by:
Hi, i'm trying to do this : #include <stdlib.h> #include <stdio.h> #define FILE "/tmp/myfile" #define USERS_LIST "/tmp/userslist" int main() { //open file
1
4594
by: dwasler | last post by:
OS Win XP Pro SP2 I had to uninstall my db2 V8 because of WAS Commerce Server 6.0.2 I created an account with admin rights Now went I try to install db2 V8 via the commerce Whiz installer at set up time it keep telling me invalid password Even if I try to install db2 V8 with the Was Commerce server Wiz it will not recongines
1
1848
by: smtwtfs007 | last post by:
I have an ASP.NET website. I'm trying to connect to a Foxpro database (ADO.NET) with the following connect string: txtConnectionStr.Text = "\\soya4042\Qd\LM\LMS\Data" Dim strFoxProDirectory As String = txtConnectionStr.Text Dim strConnection As String = "User ID=;DSN=;Cache Authentication=False;Data Source='" & _ Trim(strFoxProDirectory)...
2
13944
by: samsalmanu | last post by:
I'm trying to ftp from a Unix machine to a Windows machine.. I've tried the following #!/bin/sh #set -x USER="user1" PASS="pass1" HOSTNAME="host1"
7
10802
by: Thana1995 | last post by:
Write a program that asks the user to give a two-character password(defined by constants within the program). the program should then test the validity of the password. if it is incorrect after three tries, the computer should give some nasty message and then stop. this is what i have so far but i tried it and it not working so i need help ...
2
2370
by: itsvineeth209 | last post by:
My task is to create login control without using login control in tools. I shouldnt use sqldatasource or any other. I should use only data sets, data adapters and data readers etc. U had created table login with fields username(varchar(50)), password(varchar(50)), firstname(varchar(50)), lastname(varchar(50)). U had to display username , first...
0
7841
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7965
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6617
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5712
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1184
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.