Hi,
I have been trying to configure LDAP server with DB2.
I have set up the following settings on DB2 9.5 Workgroup on Windows XP SP2 and works OK. I have set up the same settings on DB2 9.5 Enterprise on Suse Linux Enterprise Server 10 for System z but getting errors.
I did the following:
1. Copied file /opt/ibm/db2/V9.5/cfg/IBMLDAPSecurity.ini into directory:
/home/db2inst1/sqllib/cfg/
2. I have changed IBMLDAPSecurity.ini file (see attached file)
3. I have updated diaglevel to 4 to get more info in db2diag.log file
db2 update dbm cfg using DIAGLEVEL 4
4. I have turned on server plug-in:
db2 UPDATE DBM CFG USING SRVCON_PW_PLUGIN IBMLDAPauthserver
5. I have turned on groups plug-in:
db2 UPDATE DBM CFG USING GROUP_PLUGIN IBMLDAPgroups
6. I executed terminate db2 backgroup processes:
db2 terminate
7. I have tried to stop and start db2 instance:
db2stop force
The above command returns error:
SQL1366N A security plug-in "IBMLDAPgroups" processing error occurred on the client. Reason code = "7".
In db2diag.log file there are two error messages:
Code:
2008-04-01-13.14.37.680893+120 I7148A258 LEVEL: Error
PID : 26936 TID : 2199124494032
FUNCTION: DB2 Common, Security, Users and Groups, secLoadGroupPlugin, probe:20
DATA #1 : String, 37 bytes
db2secGroupPluginInit failed with -25
2008-04-01-13.14.37.680942+120 I7407A326 LEVEL: Error
PID : 26936 TID : 2199124494032
FUNCTION: DB2 Common, Security, Users and Groups, secLoadGroupPlugin, probe:21
DATA #1 : String, 104 bytes
db2ldapReadConfig: error parsing line 1 of config file /db2/home/db2inst1/sqllib/cfg/IBMLDAPSecurity.ini
Any idea what to do to solve DB2_9.5_ESE_Linux LDAP problem?
Thanks,
Grofaty