If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Linux Kerberos Authentication

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-04-11, 12:06
mdx34 mdx34 is offline
Registered User
 
Join Date: Oct 2004
Posts: 238
DB2 Linux Kerberos Authentication

Linux 5.2 - DB2 V9.5 FP6a

We have setup kerberos authentication on the server to get the Windows domain user to connect to the database and use it. All the Kerberos piece is setup and working.

How can I give permission to a windows domain user to connect to database and use it ? Windows domain user is able to logon to linux server.

All the instance cfg is setup.

Server Connection Authentication (SRVCON_AUTH) = KERBEROS
Client Kerberos Plugin (CLNT_KRB_PLUGIN) = IBMkrb5
Database manager authentication (AUTHENTICATION) = SERVER

e.t.c

Thanks.
Reply With Quote
  #2 (permalink)  
Old 03-04-11, 16:05
mdx34 mdx34 is offline
Registered User
 
Join Date: Oct 2004
Posts: 238
Never mind............I got it..............
Reply With Quote
  #3 (permalink)  
Old 03-04-11, 19:54
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
can you share your solution?
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #4 (permalink)  
Old 03-07-11, 09:38
mdx34 mdx34 is offline
Registered User
 
Join Date: Oct 2004
Posts: 238
I was trying to connect to the database using mixed case until I read here

(joining linux in windows domain)

that the domain name MUST be in caps when connecting to the database.

db2 connect to SAMPLE user dbadmin@CF.IESECURITY.COM

I could not put the "using" and the password due to the password starts with a special character & which results in error.

I execute the above command and then put the password, it works.

If I create the same domain user ID that is in Windows AD in DB2 (VIA Control Center), I can grant permissions to it. However, I could not get the groups work (Either AD domain groups or the AD domain users added to the local linux groups).

Last edited by mdx34; 03-07-11 at 09:47.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On