LDAP authentication

Hi, We are trying to use LDAP to authenticate the login from our application. Our application is installed on AIX 6.1 and LDAP server is on active directory windows 2003.

We are getting the below error when we try to login. We have the required lib file in the path it is looking for. Any idea when this error is seen?

Cannot load module libibmldapn.a.
Cannot run a file that does not have a valid format.
Error in loading the LDAP library

so you don't want to login to aix with your ad user, just to the application? which application is it?

host:/--# lslpp -w /opt/IBM/ldap/V6.0/lib/libibmldapn.a                                                                                                                                                                                  
  File                                        Fileset               Type                                                                                                                                                                     
  ----------------------------------------------------------------------------                                                                                                                                                               
  /opt/IBM/ldap/V6.0/lib/libibmldapn.a                                                                                                                                                                                                       
                                      idsldap.clt32bit60.rte        File                                                                                                                                                                     
host:/--# lslpp -w /opt/IBM/ldap/V6.0/lib64/libibmldapn.a                                                                                                                                                                                
  File                                        Fileset               Type                                                                                                                                                                     
  ----------------------------------------------------------------------------                                                                                                                                                               
  /opt/IBM/ldap/V6.0/lib64/libibmldapn.a                                                                                                                                                                                                     
                                      idsldap.clt64bit60.rte        File                      

it's part of the package idsldap.clt32bit60.rte/idsldap.clt64bit60.rte, are they installed? looks like the file is present but not valid
check the version of this packages, maybe you need to update them

Thanks.. We had the library for 32 bit OS. We copied the library from /opt/IBM/ldap/V6.3/lib64/libibmldapn.a and that worked :slight_smile:

that's good

but try to install the package rather then copying it over, I mean that's ok to test, but you wont get any updates for this library with new technology levels,

specially for libraries used for user authentication you may want security updates :wink:

it's part of the base operatiing system cd since aix 6.1

Edit: if you mean you copied it from the same host to another directory it's kind of the same problem:) either set the LIBPATH environment variable, or link it to another directory, but don't copy it

1 Like