cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP transaction for connect webAS abap with Novell eDirectory

Former Member
0 Kudos

Hi all,

Has anyone use the LDAP transaction code in WebAS abap stck to configure LDAP connection with Novell eDirectory?

Is it any blog that I can use?

Could anybody tell me how can I mack this connection.

Regards

Reza

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Reza,

All the information you need to configure LDAP is at the following location:

http://help.sap.com/saphelp_nw70/helpdata/en/10/1a063715c611d4b61f0000e835363f/content.htm

I would suggest you go through it, this will definitely help you perform the setup.

Regards,

Shitij

Former Member
0 Kudos

Hi Shitij

Thanks agin for help..

I did configure LDAP connection,

but when I try to start connector it says. Error starting LDAP connector at operating system level.

And This massege:

It is possible that the LDAP library required for the operation of the LDAP Connector does not exist in your system, or cannot be found.

Any Idea how can I find out that I had install the Openldap client libraries on my OS LINUX?

I did tried to start * ldap_rfc * on my OS /usr/sap/UEP/DVEBMGS00/exe/ ldap_rfc but nothing happened.

I did look at the Libraries * /usr/local/lib/ * after * libldap.so * file but I did not find any.

Reg.

Reza

nelis
Active Contributor
0 Kudos

I did tried to start * ldap_rfc * on my OS /usr/sap/UEP/DVEBMGS00/exe/ ldap_rfc but nothing happened.

I did look at the Libraries * /usr/local/lib/ * after * libldap.so * file but I did not find any.

See Note 1380245 - Linux: libldap.so not found & Note 188371 - Configuring the LDAP Connector

Nelis

Former Member
0 Kudos

Hi Nelis

Thanks for reply,

I tried to create an RFC destination of connection type T in transaction SM59 to Novell eDirectory,

I can ping my Novell eDirectory form SAP server and SAP serve from Novell eDirectory.

I have correct Gateway Host and Gateway Service.

But it is not working and I have this errors:

*Logon Connection Error

connector at operating system level.

Error Details Error when opening an RFC connection

Error Details ERROR: program EDIRECTORY not registered

Error Details LOCATION: SAP-Gateway on host sisdq1 / sapgw00

Error Details DETAIL: TP EDIRECTORY not registered

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 8282

Error Details MODULE: gwr3cpic.c

Error Details LINE: 1812

Error Details RETURN CODE: 679

Error Details SUBRC: 0

Error Details RELEASE: 700

Error Details TIME: Tue May 11 15:53:10 2010

I should use this connection for my LDAP. *

Do I get this error because I need to install the Openldap client libraries on my OS LINUX? Or there is

something elles?

Reg.

Reza

nelis
Active Contributor
0 Kudos

Do I get this error because I need to install the Openldap client libraries on my OS LINUX? Or there is

something elles?

If you get an error when running ldap_rfc then yes you need to install the Openldap client libraries. Your OS may not include them by default depending on you install but it will be available as an option in your package manager.

Note 188371 - Configuring the LDAP Connector has a link to the supported client libraries, Openldap is the correct one to use for linux and the libraries required are listed in the link.

Nelis

Former Member
0 Kudos

Hi,

Anybody knows where can I find "libldap.so" and "liblber.so files from?

Reg.

Reza

nelis
Active Contributor
0 Kudos

Why don't you start by letting us know what Linux OS you're using ?

Nelis

Former Member
0 Kudos

That is :

SUSE LINUX ENTERPRISE SERVER VER. 10 SP3. (SLES10 sp3 )

Reg.

Reza

nelis
Active Contributor
0 Kudos

Great !

Now run YaST -> Select Software Management -> Search -> 'openldap' -> Select 'openldap2-devel' -> Install.

Then follow Note 1380245 - Linux: libldap.so not found

To find the libraries try: find / -type f -name ''ldap'' -print

You should see them in /usr/lib64

Make sure your libldap and liblber libraries are linked with the same versions.

Nelis

Former Member
0 Kudos

Thanks Nelis,

I will try that .

Reg

Reza

Former Member
0 Kudos

Hi Nelis,

After I install 'openldap2-devel' on my LINUX server I get this installation:

*/ # ldd /usr/sap/UEP/SYS/exe/run/ldap_rfc

linux-vdso.so.1 => (0x00007fff47fff000)

libdl.so.2 => /lib64/libdl.so.2 (0x00002b0562c26000)

librt.so.1 => /lib64/librt.so.1 (0x00002b0562d2a000)

libldap.so.199 => not found

liblber.so.199 => not found

libresolv.so.2 => /lib64/libresolv.so.2 (0x00002b0562e34000)

libstdc+.so.5 => /usr/lib64/libstdc+.so.5 (0x00002b0562f48000)

libm.so.6 => /lib64/libm.so.6 (0x00002b0563126000)

libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b056327b000)

libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b0563388000)

libc.so.6 => /lib64/libc.so.6 (0x00002b05634a2000)

/lib64/ld-linux-x86-64.so.2 (0x00002b0562b0a000).*

Now I want to create a symbolic link of the libraries that are currently installed with the names that are required by the LDAP Connector.

When I look at my Lib64 directory I have:

sisdq1:/usr/lib64 # ll libldap*

lrwxrwxrwx 1 root root 21 Jan 9 2008 libldap-2.2.so.7 -> libldap-2.2.so.7.0.20

-rwxr-xr-x 1 root root 225456 Oct 14 2005 libldap-2.2.so.7.0.20

lrwxrwxrwx 1 root root 21 Feb 15 13:17 libldap-2.3.so.0 -> libldap-2.3.so.0.2.20

-rwxr-xr-x 1 root root 245088 Sep 5 2009 libldap-2.3.so.0.2.20

-rw-rr 1 root root 457376 Sep 5 2009 libldap.a

lrwxrwxrwx 1 root root 21 May 17 15:11 libldap.so -> libldap-2.3.so.0.2.20

lrwxrwxrwx 1 root root 23 Jan 9 2008 libldap_r-2.2.so.7 -> libldap_r-2.2.so.7.0.20

-rwxr-xr-x 1 root root 243144 Oct 14 2005 libldap_r-2.2.so.7.0.20

lrwxrwxrwx 1 root root 23 Feb 15 13:17 libldap_r-2.3.so.0 -> libldap_r-2.3.so.0.2.20

-rwxr-xr-x 1 root root 263552 Sep 5 2009 libldap_r-2.3.so.0.2.20

-rw-rr 1 root root 501478 Sep 5 2009 libldap_r.a

lrwxrwxrwx 1 root root 23 May 17 15:11 libldap_r.so -> libldap_r-2.3.so.0.2.20

lrwxrwxrwx 1 root root 19 Jan 9 2008 libldapcpp.so.0 -> libldapcpp.so.0.0.4

-rwxr-xr-x 1 root root 364400 May 4 2007 libldapcpp.so.0.0.4

But I am not sure which one should I use to create a symbolic link.

Thanks for help me on this

Reg.

Reza

nelis
Active Contributor
0 Kudos

libldap.so.199 => not found

liblber.so.199 => not found

You need to link the above two libraries. So I would do the following in /usr/lib64


ln -s libldap-2.3.so.0.2.20 libldap.so.199
ln -s liblber-2.3.so.0.2.20 liblber.so.199

..which will link version 2.3(newest) of the openldap libraries.

Now you should be able to run ldap_rfc as your <sid>adm user without error.

Nelis

Former Member
0 Kudos

Thanks,

It is working now

Reg.

Reza

Answers (1)

Answers (1)

nelis
Active Contributor
0 Kudos

Don't expect to be able to authenticate your users to Novell eDirectory, this is not supported. All you can do is import the information in the users profile(and other area's) or export data using a single user that has been given permission to access eDirectory.

Nelis