473,378 Members | 1,522 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,378 software developers and data experts.

DB2 suddenly become unable to NIS authenticate?

DB2 UDB 7.2 WSE
Fixpak 9
Linux Red Hat 7.3

A very strange thing just happened w/ my DB2 server. I am on Linux and
using NIS - the instance owner is in the servers /etc/passwd file.

Suddenly, DB2 would not authenticate any NIS-based logins, but it
*would* authenticate the local non-NIS instance owner. This was
happening not only w/ local connections on the server, but also
connections across the network (I am using JDBC and db2jstrt daemon)

When I tried to login w/ a NIS login, I got:
SQL1403N The username and/or password supplied is incorrect.
SQLSTATE=08004
Even though I was using a good login and password.

NIS logins have been working just fine for months and months. No
configuration has been changed. Here are the relevant config
settings:

Database manager authentication (AUTHENTICATION) = SERVER
Cataloging allowed without authority (CATALOG_NOAUTH) = NO
Trusted client authentication (TRUST_CLNTAUTH) = CLIENT

I stopped and started NIS on the server, but no help. "ypcat passwd"
output looked correct..

So in desperation I did a db2stop and a db2start and suddenly NIS
logins could be used again...

Bringing the database down around here is a very big deal, so now I
will need to debrief you-know-who on why it happened.

Any ideas? Why would DB2 suddenly become unable to NIS
authenticate?

TIA
allen
Nov 12 '05 #1
2 3159
Allen,

DB2 does not perform the authentication. DB2 throws the user name and
password over the wall to UNIX LOGIN processing and waits for a YES or NO
response. It sounds like you had a temporary glitch between DB2 and the
LOGIN interface and DB2 didn't recover correctly.
<al****@ndr.com> wrote in message
news:40*****************@news.supernews.com...
DB2 UDB 7.2 WSE
Fixpak 9
Linux Red Hat 7.3

A very strange thing just happened w/ my DB2 server. I am on Linux and
using NIS - the instance owner is in the servers /etc/passwd file.

Suddenly, DB2 would not authenticate any NIS-based logins, but it
*would* authenticate the local non-NIS instance owner. This was
happening not only w/ local connections on the server, but also
connections across the network (I am using JDBC and db2jstrt daemon)

When I tried to login w/ a NIS login, I got:
SQL1403N The username and/or password supplied is incorrect.
SQLSTATE=08004
Even though I was using a good login and password.

NIS logins have been working just fine for months and months. No
configuration has been changed. Here are the relevant config
settings:

Database manager authentication (AUTHENTICATION) = SERVER
Cataloging allowed without authority (CATALOG_NOAUTH) = NO
Trusted client authentication (TRUST_CLNTAUTH) = CLIENT

I stopped and started NIS on the server, but no help. "ypcat passwd"
output looked correct..

So in desperation I did a db2stop and a db2start and suddenly NIS
logins could be used again...

Bringing the database down around here is a very big deal, so now I
will need to debrief you-know-who on why it happened.

Any ideas? Why would DB2 suddenly become unable to NIS
authenticate?

TIA
allen

Nov 12 '05 #2
There is some doc about db2 and NIS here.

http://publib.boulder.ibm.com/infoce...help/index.jsp
search : NIS
(returns about 20 links)

see NIS installation considerations and other related links.
<snip>
In environments that include security software, such as NIS or NIS+, there
are some installation considerations.
The DB2 installation scripts will attempt to update things that are under
the control of the security packages,
such as users and groups, and will not be able to do so.
<snip>
etc...
PM
<al****@ndr.com> a écrit dans le message de
news:40*****************@news.supernews.com...
DB2 UDB 7.2 WSE
Fixpak 9
Linux Red Hat 7.3

A very strange thing just happened w/ my DB2 server. I am on Linux and
using NIS - the instance owner is in the servers /etc/passwd file.

Suddenly, DB2 would not authenticate any NIS-based logins, but it
*would* authenticate the local non-NIS instance owner. This was
happening not only w/ local connections on the server, but also
connections across the network (I am using JDBC and db2jstrt daemon)

When I tried to login w/ a NIS login, I got:
SQL1403N The username and/or password supplied is incorrect.
SQLSTATE=08004
Even though I was using a good login and password.

NIS logins have been working just fine for months and months. No
configuration has been changed. Here are the relevant config
settings:

Database manager authentication (AUTHENTICATION) = SERVER
Cataloging allowed without authority (CATALOG_NOAUTH) = NO
Trusted client authentication (TRUST_CLNTAUTH) = CLIENT

I stopped and started NIS on the server, but no help. "ypcat passwd"
output looked correct..

So in desperation I did a db2stop and a db2start and suddenly NIS
logins could be used again...

Bringing the database down around here is a very big deal, so now I
will need to debrief you-know-who on why it happened.

Any ideas? Why would DB2 suddenly become unable to NIS
authenticate?

TIA
allen

Nov 12 '05 #3

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

Similar topics

2
by: Carlos G Benevides | last post by:
I have a ASP.Net web application that has two assemblies that run under com+. Under Windows 2000 the two assemblies are added to com+ automatically when instantiated from the web site. For this...
8
by: Dean Speir | last post by:
Hi... I've been referred to this Newsgroup by the W3C Markup Validator FAQ. I've been happily using this Validator <http://validator.w3.org> for the past 18 months with great success, but...
5
by: db2sysc | last post by:
All: This is becoming a big problem for us. Whenever we are using control center it asks for the userid/passwd and when we provide the admin userid/passwd we get a error "Administrative...
0
by: Jim M | last post by:
For about a year and a half now I have been working in Access 2002 at home and converting to Access 2000 for work (I need both versions). I made a few changes to forms and queries then converted to...
2
by: Nils Hedström | last post by:
Today my stateserver (running at the same computer at the web-server) suddenly stopped responding (after 10 days working perfectly). I did not see any entry in the eventlog indicating that the...
0
by: Nachi | last post by:
I have installed SQL Server 2000 with VS 2005 - did not install SqlExpress\Sql 2005. I have a remote Sql Server Instance locally. The normal application connectes to this Sql Server. When I run...
3
by: =?Utf-8?B?R3JlZw==?= | last post by:
The opening movie is suddenly blurry in Rise of Nations. I think I've either accidently deleted a Windows System filter or one or more video filters has become corrupted. I've checked and I...
3
by: =?Utf-8?B?V2luRGV2?= | last post by:
I have a weird one. My users will be on the system and suddenly get logged out. I have forms authentication turned on with a 1200 minute logout (I raised it that high to test this out.) Session...
1
by: Benedict Verheyen | last post by:
Hi, i get an "Unable to relay for" when trying to send an email from within my network to an email address not on my domain. I don't understand why it says "relaying" as i'm sending from an...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...

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.