473,769 Members | 6,187 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Kerberos / Windows authentication

Gday

I want to change to use Windows AD-integrated Kerberos authentication,
and have changed a server to KRB_SERVER_ENCR YPT for trial. Recataloged
the database at a client machine.
As far as I can tell, everything is in the right place (and seems to be
mostly set up automatically under Windows).

Attempting to connect without specifying name/password gives:
SQL30082N Attempt to establish connection failed with security reason
"26" ("SERVER SECURITY PLUGIN ERROR"). SQLSTATE=08001

The server event log contains:
2006-11-08-11.53.57.247000 Instance:DB2 Node:000
PID:3708(db2sys cs.exe) TID:4728 Appid:*LOCAL.DB 2.061108005252
bsu security sqlexSlsGssPlug inAuthenticate Probe:45 Database:G13PDT A

ADM13000E Plug-in "IBMkrb5" received error code "1" from the GSS
(Generic Security Service) API "gss_accept_sec _context" with the error
message "".

Both server and client are version 8.1.10
Server Windows2003, DB2 Express
Client WindowsXP

Any clues?
Nov 8 '06 #1
2 5147
Greg Nash wrote:
Gday

I want to change to use Windows AD-integrated Kerberos authentication,
and have changed a server to KRB_SERVER_ENCR YPT for trial. Recataloged
the database at a client machine.
As far as I can tell, everything is in the right place (and seems to be
mostly set up automatically under Windows).

Attempting to connect without specifying name/password gives:
SQL30082N Attempt to establish connection failed with security reason
"26" ("SERVER SECURITY PLUGIN ERROR"). SQLSTATE=08001

The server event log contains:
2006-11-08-11.53.57.247000 Instance:DB2 Node:000
PID:3708(db2sys cs.exe) TID:4728 Appid:*LOCAL.DB 2.061108005252
bsu security sqlexSlsGssPlug inAuthenticate Probe:45 Database:G13PDT A

ADM13000E Plug-in "IBMkrb5" received error code "1" from the GSS
(Generic Security Service) API "gss_accept_sec _context" with the error
message "".

Both server and client are version 8.1.10
Server Windows2003, DB2 Express
Client WindowsXP
Additional info:
The server is an AD domain controller, and a global catalog.
I get the same behaviour attempting a command-line connection locally on
the server.
Nov 8 '06 #2
Found 2 answers, effectively the same solution. The DB2 service was
running as domain\db2admin which didn't have kerberos ticket delegation
rights.
A. Change so DB2 runs as SYSTEM, and ensure the particular server has
delegation rights in Active Directory (which it did by default)
or
B. Give the db2admin account delegation rights. This required using
setspn to give db2admin an spn, which then makes the delegation tab
visible for that user in Active Directory Users & Computers.

I've gone for option A for simpler administration.

Greg Nash wrote:
Greg Nash wrote:
>Gday

I want to change to use Windows AD-integrated Kerberos authentication,
and have changed a server to KRB_SERVER_ENCR YPT for trial.
Recataloged the database at a client machine.
As far as I can tell, everything is in the right place (and seems to
be mostly set up automatically under Windows).

Attempting to connect without specifying name/password gives:
SQL30082N Attempt to establish connection failed with security reason
"26" ("SERVER SECURITY PLUGIN ERROR"). SQLSTATE=08001

The server event log contains:
2006-11-08-11.53.57.247000 Instance:DB2 Node:000
PID:3708(db2sy scs.exe) TID:4728 Appid:*LOCAL.DB 2.061108005252
bsu security sqlexSlsGssPlug inAuthenticate Probe:45 Database:G13PDT A

ADM13000E Plug-in "IBMkrb5" received error code "1" from the GSS
(Generic Security Service) API "gss_accept_sec _context" with the error
message "".

Both server and client are version 8.1.10
Server Windows2003, DB2 Express
Client WindowsXP
Additional info:
The server is an AD domain controller, and a global catalog.
I get the same behaviour attempting a command-line connection locally on
the server.
Nov 10 '06 #3

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

Similar topics

1
3030
by: Brian Beck | last post by:
After a bit of searching I haven't been able to find a definite resource for Kerberos authentication from Python. Any help would be appreciated. Here's what I've found... http://starship.python.net/crew/fdrake/manuals/krb5py/krb5py.html This looks all well and good, but the 'original software package' referenced here doesn't work, and as far as I can tell, doesn't even seem to exist (and I do have Handler). The best I could find in...
3
5255
by: Jacob | last post by:
Hello All, I am trying to serve out some content via IIS that is hosted on a remote fileserver, and am unable to get the delegation working correctly. Our setup is as follows: Local LAN Windows 2000 domain (mixed-mode): MYDOMAIN (mydomain.net) Windows 2003 Server w/IIS6: WEB01 Windows 2000 Server hosting files: FILE01 Windows XP Pro client workstation: CLIENT01
0
1173
by: Paul Bacelar | last post by:
I have a problem with Windows integrated authentication and Kerberos. I use the object COM ServerXMLHTTP of MSXML3. On the Open method which requires the login password of the user, I use NULL and NULL so that the integrated authentication of Windows should be used. My application goes perfectly if I give the login and the password but I cannot know the password of the user during the production: - ( . The network sniffer traces...
2
1661
by: josh | last post by:
Hello Sharepoint Guru's, I have hit a bit of a brick wall in regards to Kerberos authentication. I have an ASP.Net web application that interfaces with sharepoint, this all works fine if I do this dws.Credentials = new NetworkCredential("sk", _SPSPassword, _SPSDomain); however when I tray and pass the default credentials it won't work. I have
0
2315
by: CESAR DE LA TORRE [MVP] | last post by:
I am using WSE 3.0 with Visual Studio 2005, specifically I'm using Kerberos authentication and passing Kerberos ticket from Presentation Tier (VSTO.2005 client) to Server Tier through our Web Services (based on WSE 3.0). Having our WSE 3.0-WebService over Windows Server 2003, everything works great, but, over Windows XP, I have a problem (which is documented in WSE 3.0 help) but its workaround does not work properly (at least with my...
1
2730
by: russell.lane | last post by:
I've established user login identity impersonation and delegation for a multi-tier web application. I'm running into a case where authentication fails when a user accesses the app from a browser on one machine, but not from another machine. The relevant details -- in both cases, all of the following are in effect: Same user account. Same web application, same IIS host. Client OS is XP Pro SP2.
4
7390
by: webrod | last post by:
Hi, I am trying to secure a WS using WSE 3.0 and kerberos. I used the "WSE 3.0 settings" from VS2005 with my own WS. I have a console application which try to access a WS. With the following configuration it works: - WS/IIS and AD on the Windows 2003 server - console application on a Windows XP workstation
1
2257
by: Tina | last post by:
I have a client that wants his new asp.net app to be authenticated using Kerberos instead of forms authentication. I used Kerberos years ago for logon security for users to long on to NT. However I am at a loss to understand how it would work for asp.net authentication. Can someone help me here? Thanks, T
0
1545
by: louis.lam | last post by:
Anyone has experience setting up kerberos authentication on SQL Server 2005 on Windows 64 bit? It is working for me on windows 32-bit. I didn't need to do anything, but to make sure the sever and client are on the same domain. For the same setup on 64-bit server, it doesn't use kerberos authentication, but just windows authentication. If you have any luck setting this up on windows 64 bit, could you please share some note. Thank you...
2
1693
by: Tapio Kulmala | last post by:
Hi! I've found an interesting problem that might have something to do with Kerberos. I have a www application running in a Windows Server 2003 box. The server did not have SP1 or SP2 installed. Everything was working smoothly. Couple days ago we installed SP2 and weird authentication errors started to occur occasionally.
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10211
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9994
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 most users, this new feature is actually very convenient. If you want to control the update process,...
1
7409
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5299
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3959
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.