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 Security Plugins Problem with activation...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-03-12, 04:35
DB_N00b DB_N00b is offline
Registered User
 
Join Date: Jan 2010
Posts: 152
DB2 Security Plugins Problem with activation...

Hello friends,

I am trying to synchronise my AIX machine with a Microsoft Active Diretory.
At first of all I edited my ~/sqllib/cfg/IBMLDAPSecurity.ini with the necessary things it needs to have, then I configured my DBM CFG with this parameters;

update dbm cfg using srvcon_pw_plugin IBMLDAPauthserver;
update dbm cfg using clnt_pw_plugin IBMLDAPauthclient;
update dbm cfg using group_plugin IBMLDAPgroups;

after that, the IBM Information Center says to restart the Instance but there comes this error up:

db2stop
SQL1093N The user is not logged on. SQLSTATE=51017

db2start
SQL1093N The user is not logged on. SQLSTATE=51017

Does anyone have experience with this?
Reply With Quote
  #2 (permalink)  
Old 02-07-12, 22:13
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Have you checked db2diag.log file?

You may have some pointers there.
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 02-08-12, 04:20
DB_N00b DB_N00b is offline
Registered User
 
Join Date: Jan 2010
Posts: 152
Hmm yes, I checked it but it doesnt say much ...

2012-01-30-08.54.06.923572+060 I134185A500 LEVEL: Error
PID : 1810514 TID : 1 PROC : db2flacc
INSTANCE: db2inst6 NODE : 000
EDUID : 1
FUNCTION: DB2 UDB, bsu security, sqlexLogPluginMessage, probe:20
DATA #1 : String with size, 213 bytes
LDAP WhoAmI: can't determine LDAP user associated with
OS user 'db2inst6': LDAP error while searching for AuthID.
Userid attribute='uid' AuthID attribute='uid'
user objectClass='SVCaixLDAPReader' user base DN=''


2012-01-30-08.54.06.923733+060 E134686A690 LEVEL: Severe
PID : 1810514 TID : 1 PROC : db2flacc
INSTANCE: db2inst6 NODE : 000
EDUID : 1
FUNCTION: DB2 UDB, bsu security, sqlexGetDefaultLoginContext, probe:150
MESSAGE : ADM13001E Plug-in "IBMLDAPauthclient" received error code
"-1" from the DB2 security plug-in API "db2secGetDefaultLoginContext"
with the error message "LDAP WhoAmI: can't determine LDAP user
associated with OS user 'db2inst6': LDAP error while searching for
AuthID. Userid
attribute='uid' AuthID attribute='uid' user
objectClass='SVCaixLDAPReader' user base DN=''".
Reply With Quote
  #4 (permalink)  
Old 02-08-12, 04:28
DB_N00b DB_N00b is offline
Registered User
 
Join Date: Jan 2010
Posts: 152
the db2inst6 is the user on my AIX Machine and its existing in my AD (Windows 2003)
Reply With Quote
  #5 (permalink)  
Old 02-08-12, 04:35
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
it means something is not correctly defined as the lookup of this user can not be found in ldap
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #6 (permalink)  
Old 02-08-12, 08:18
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
May be the base DN is misconfigured; it shows empty in your log, which is rarely the case.
Reply With Quote
  #7 (permalink)  
Old 02-08-12, 08:24
DB_N00b DB_N00b is offline
Registered User
 
Join Date: Jan 2010
Posts: 152
Mmm the documentary says that this is optional
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