473,396 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Intermittant user authentication error

Helpful folks,

We have been having an intermittent and completely unreproducable
problem concerning user authentication on Windows 2000:

[IBM][CLI Driver] SQL1403N The username and/or password supplied is
incorrect. SQLSTATE=08004

DB2 v7.2 fp5
Windows 2000

This is received by various programs that all use the same userid to
connect to our databases. In most cases simply stopping and restarting
the program will cause the connection attempt to work again. I have
never seen any clues that may relate to this problem, until I ran
across this short reference in the Advanced DBA Certification Guide
and Reference (Snow & Phan), under the section "DB2 for Windows NT
User name and Group Name Restrictions":

"DB2 supports a single namespace. That is, when running in a trusted
domains environment, you should not have a user account of the same
name that exists in multiple domains or that exists in the local SAM
of the server machine and in another domain"

Our setup encompasses both of those scenarios, that is our "production
access user id" APPCIC exists as:

DOMainA/APPCIC
DOMainB/APPCIC
Prodserver/APPCIC (the local SAM)

Where DOMainA and DOMainB are trusted domains.

The Certification Guide with the quoted reference is focused on V8 and
the section referes specifically to Windows NT, but I can't help but
think that this may be the cause of our problems. The error is fairly
infrequent, but quite annoying.

Does anyone have any experiences with such a a situation, and could
the definition of our production userid being defined in multiple
domains be responsible for the error message above?

Any help or suggestions would be greatly appreciated.

Sean
Nov 12 '05 #1
1 2321
This annoying design restriction was finally lifted in V8.2. As the doc's
say, what you've done won't work - DB2 searches for the userid over the
possible domains, and if it finds the wrong one first, you'll have problems.
If you cannot update to V8.2, you'll have to use unique userids and/or
enable Kerberos or client authentication.

"Sean C." <db*****@yahoo.com> wrote in message
news:2f**************************@posting.google.c om...
Helpful folks,

We have been having an intermittent and completely unreproducable
problem concerning user authentication on Windows 2000:

[IBM][CLI Driver] SQL1403N The username and/or password supplied is
incorrect. SQLSTATE=08004

DB2 v7.2 fp5
Windows 2000

This is received by various programs that all use the same userid to
connect to our databases. In most cases simply stopping and restarting
the program will cause the connection attempt to work again. I have
never seen any clues that may relate to this problem, until I ran
across this short reference in the Advanced DBA Certification Guide
and Reference (Snow & Phan), under the section "DB2 for Windows NT
User name and Group Name Restrictions":

"DB2 supports a single namespace. That is, when running in a trusted
domains environment, you should not have a user account of the same
name that exists in multiple domains or that exists in the local SAM
of the server machine and in another domain"

Our setup encompasses both of those scenarios, that is our "production
access user id" APPCIC exists as:

DOMainA/APPCIC
DOMainB/APPCIC
Prodserver/APPCIC (the local SAM)

Where DOMainA and DOMainB are trusted domains.

The Certification Guide with the quoted reference is focused on V8 and
the section referes specifically to Windows NT, but I can't help but
think that this may be the cause of our problems. The error is fairly
infrequent, but quite annoying.

Does anyone have any experiences with such a a situation, and could
the definition of our production userid being defined in multiple
domains be responsible for the error message above?

Any help or suggestions would be greatly appreciated.

Sean

Nov 12 '05 #2

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

Similar topics

5
by: Michael Mossey | last post by:
Runnng python 2.2 on HP-UX, I get intermittant slow startup. Sometimes python starts up in a small fraction of a second, and sometimes takes 3-5 seconds. This applies to any script I run, or just...
4
by: Tim Daneliuk | last post by:
OK, I've Googled for this and cannot seem to quite find what I need. So, I turn to the Gentle Geniuses here for help. Here is what I need to do from within a script: Given a username and a...
0
by: Nick Jushchyshyn | last post by:
Having a really strange issue with IIS 6 where the session variable does not stay consistant. The first symptom was that database connections (which use a user entered name/PW stored in the...
5
by: Matthew Louden | last post by:
I wrote ASP.NET application that access SQL Server database. When I run the application, it yields "Login failed for user '<COMPUTER_NAME>\ASPNET'" error message. I then did the following, but...
0
by: Mark Phanides | last post by:
My ASP.NET application intermittantly (but always at same point) redirects to the 'Invalid Syntax Error' web page for some unknown reason. I've created a ASP.NET application written in VB.NET with...
2
by: Chuck Ritzke | last post by:
Hi all, I am getting an intermittant error after uploading a project from my development machine. I click on a link which opens an aspx page that, upon page load, reads a very small amount of...
2
by: James Wallace | last post by:
I hope that someone can help me out there with this problem. I get an itermittant problem with our web page that occurs about once every 10 to 15 days where the only way to fix the problem is to...
3
by: Asaf | last post by:
Hello, I have created a web service name "TestWS" and published it to my SBS2003 server that uses IIS6 as a web server. I have set NO anonymous access to TestWS virtual directory and I have...
0
by: kkos | last post by:
I noticed the following issue posted as a double-hop issue in many discussion boards but found no answers that explain how to pass the second hop with windows auth from IIS ASPX page to remote SQL...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.