cancel
Showing results for 
Search instead for 
Did you mean: 

SAP LDAP connection

Former Member
0 Kudos

Hi,

I'm configuring the LDAP connection between SAP ECC and the Microsoft windows AD. I've created the RFC , the server and saved the system user.

If i try to connect to the AD directly with the user, I can connect but when i try to do it from SAP i have this error:

I can't find any other error .

Could someone help me ?

Thanks a lot, Sapera

Accepted Solutions (0)

Answers (3)

Answers (3)

cris_hansen
Advisor
Advisor
0 Kudos

Hello Sapera,

Before logon to LDAP, you need to configure a LDAP server, a user ID that will be used to logon to the AD, and the LDAP connector working. If you have configured properly in SM59, the connection test should work.

You can count on the following documentation places to have this done & working:

1. SAP Help page

2. SCN Wiki (it is from GRC configuration, but they use LDAP too)

My 2 cents,

Cris

Former Member
0 Kudos

Hi,

thanks a lot for your replies. Yes, RFC connection test is working:

this is the screenshot from LDAP:

Application server is the ECC server where we are performing the configuration.

User which we use to connect SAP and LDAP is working. We can connect to the AD using the remote desktop.

On the SMGW , connections are there:

Do you have any other idea ?

Thanks a lot

guilherme_deoliveira
Participant
0 Kudos

Hello Sapera,

What is the exactly error you're facing? The screenshot does not show it...

Anyhow, is your LDAP_RFC_* destination working fine in SM59? The connection test works ok?

Can you also click on LDAP Connectors button and provide us an screenshot of there?

Best Regards,

Guilherme de Oliveira
SAP Active Global Support

Martina_Gállego
Active Participant
0 Kudos

Hi Sapera,

Have you started de ldap_rfc process?

Unix:

> su - sidadm

> cd /sapmnt/SID/exe

>./ldap_rfc ldap_sid -a LDAP_SID -x sapgw00 -g saphost -l 0 -f /usr/sap/SID/DVEBMGS00/work/dev_LDAP_SID1.trc &

For cheking the options:

> ./ldap_rfc -help

Hope this helps you.

Best regards,

Martina

Former Member
0 Kudos

Hi,

Yes, LDAP_RFC process is already running:

Do you have any other idea?

Thanks a lot, Sapera

Sriram2009
Active Contributor
0 Kudos

Hi

1.  Could you check any error message in SM21 log?

2. With reference of SAP Wiki link  your LDAP connection settings are fine?

User Mapping with an LDAP connection - Duet Enterprise - SCN Wiki

Regards

SS

Former Member
0 Kudos

Hi,

In SM21 i can't see anything and yes , i already followed all the steps described in your link but nothing . Same problem.

Do you have any other idea?

Thanks a lot, Beatriz

Martina_Gállego
Active Participant
0 Kudos

Hi Sapera,

Is the process registered in the gateway? Check in tx SMGW -> Goto -> Logged on Clients.

As Guilherme said, please provide us the error you are getting.

Best regards,

Martina

isaias_freitas
Advisor
Advisor
0 Kudos

Hello,

You should not be using the rfcexec. This is a test program.

You should be using the ldap_rfc program instead .

Regards,

Isaías