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 Access to Domain Users

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-14-11, 12:20
mdx34 mdx34 is offline
Registered User
 
Join Date: Oct 2004
Posts: 238
DB2 Access to Domain Users

Linux 5.2 DB2 V9.5 FP 6a.

We are trying to give our developers access to DB2 on a Linux server but so no success. Our Linux admin created a local group in Linux server and add those developers' domain accounts into it. Then, I pulled the local group into DB2 database (User and Group Objects --> DB Groups) and give "Connect to Database" access but not successful.

I even stop/start DB2 but no luck.

Domain group name looks like "SOMEDOMAIN\domain^users" on the linux server. It is Windows controlled domain.

Error: SQL30082N Security processing failed with reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001.



Is there any way to accomplish this ?.

Thanks.

Last edited by mdx34; 01-14-11 at 14:15.
Reply With Quote
  #2 (permalink)  
Old 01-14-11, 16:50
jimnz111 jimnz111 is offline
Registered User
 
Join Date: Oct 2009
Posts: 2
Can you confirm the users are able to login to the linux server using ssh?

Are you using Samba to integrate to Active Directory?
Reply With Quote
  #3 (permalink)  
Old 01-17-11, 08:47
mdx34 mdx34 is offline
Registered User
 
Join Date: Oct 2004
Posts: 238
Thank you for your reply. Yes, they are able to logon to Linux server.

With

if [ -f /home/db2inst1/sqllib/db2profile ]; then
. /home/db2inst1/sqllib/db2profile
fi


in their profile, they are able to run some DB2 commands but can not connect to the database with the local group account given permissions to connect to the database.

No we are not using Samba..............Thanks

Calvin.
Reply With Quote
  #4 (permalink)  
Old 01-17-11, 16:06
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
By default DB2 enumerates the users' group on the system where the users are defined, that is, in the AD in your case.

Try setting the registry variable DB2_GRP_LOOKUP to LOCAL.
Reply With Quote
  #5 (permalink)  
Old 01-18-11, 09:20
mdx34 mdx34 is offline
Registered User
 
Join Date: Oct 2004
Posts: 238
Thanks...........I set the DB2_GRP_LOOKUP to LOCAL but no luck. I stop and restart DB2 and even reboot the server but the same error.

SQL30082N Security processing failed with reason "24" ("USERNAME AND/OR
PASSWORD INVALID"). SQLSTATE=08001
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